Model with a simple XML structure
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Model id="bookStock"> <stock> <name>Code</name> <author>author</author> <category>Flex</category> <description> desc </description> </stock> </mx:Model> </mx:Application>