We have the mx.utils.XMLUtil.createXML method which can help you create an XML object from a String.  The XMLObjectUtil I was mentioning should come in the Flex install.  If you run the installer, maybe you need to do a standalone install?  Then wherever you do the install there should be an extras folder, and in there is the util.

 

Matt

 


From: Robert Brueckmann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 16, 2005 1:13 PM
To: [email protected]
Subject: [flexcoders] XML to Objects

 

If I’m getting a string of XML from the database, is there a way to convert it to an object in ActionScript that would allow me to access the elements of the XML like I can the attributes of an object or if I have a static body of XML within the mx:Model component using the dot-syntax instead of having to convert the string to an ActionScript XML object and then iterate through, getting child nodes, then iterating through those child nodes, etc. to access data and attributes?

 

I saw a post about some XMLObjectUtil or whatever it was called in some extras folder from Matt replied about but I don’t have an extras folder anywhere that I can find that contains this class with the utility he mentions…I don’t know even if this is what I need…

 

Thanks for any help…

 

Robert L. Brueckmann

Web Developer

Merlin Securities,LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820

 


This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone orby replying to this transmission.

 

Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.



Reply via email to