Properties that contain XML data

If a component contains a property that takes XML data, the value of the property is an XML fragment to which you can apply a namespace. In the following example, the value property of the MyComponent object is XML data:

<mynamespace:MyComponent>
   <mynamespace:value xmlns:a="http://www.example.com/myschema">
      <mx:XML>
         <a:purchaseorder>
            <a:billingaddress>
            ...
            </a:billingaddress>
            ...
      </a:purchaseorder>
   </mx:XML>
  </mynamespace:value>
</mynamespace:MyComponent>

Version 1.5

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000034.htm