Converting XML to Array

View: New views
2 Messages — Rating Filter:   Alert me  

Converting XML to Array

by Graham Pearson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Fir the first time I am working with a PHP Developer to create an Flex
Frontend for one of their projects and an example of the returned xml
packet is from the following link. I have been searching for 2 days on
how to take this XML Packet and convert it to an Array so that I can
manipulate the returned data and perform some Math calculations like
round and string calculations like trim. Does anyone have a resource
that can get me started using the xml output from the following link.

http://client-06270801.yourphppro.com/client1/api/index.php?APIKey=abcd1234&Report=StateList&Output=XML
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIhOuc3GqPAgBSy90RAjMjAKCebhlAIieLK9G7ugV2tWT9DtLZnwCeMbuC
7GHNdEQtvSbH1a8SZrGgjPE=
=2dfi
-----END PGP SIGNATURE-----


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5425
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: Converting XML to Array

by Steve Good-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here are a couple links I found on Google.  I haven't tested them, but  
at first glance they may have the info you need.

http://blog.classsoftware.com/index.cfm/2007/5/24/Flex-Webservices-XML-and-Array-Conversion

http://www.actionscript.org/forums/showthread.php3?t=146655

Steve Good
http://lanctr.com




On Jul 21, 2008, at 3:03 PM, Graham Pearson wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Fir the first time I am working with a PHP Developer to create an Flex
> Frontend for one of their projects and an example of the returned xml
> packet is from the following link. I have been searching for 2 days on
> how to take this XML Packet and convert it to an Array so that I can
> manipulate the returned data and perform some Math calculations like
> round and string calculations like trim. Does anyone have a resource
> that can get me started using the xml output from the following link.
>
> http://client-06270801.yourphppro.com/client1/api/index.php?APIKey=abcd1234&Report=StateList&Output=XML
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (MingW32)
> Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIhOuc3GqPAgBSy90RAjMjAKCebhlAIieLK9G7ugV2tWT9DtLZnwCeMbuC
> 7GHNdEQtvSbH1a8SZrGgjPE=
> =2dfi
> -----END PGP SIGNATURE-----
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5426
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37