Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Thread Tools Rate Thread Display Modes
Old 01-10-2008, 09:10 AM   #1
Pratap's Avatar
Join Date: Jul 2006
Location: Hyderabad
Posts: 62
Send a message via Skype™ to Pratap
Wink How to Generate XML Document from Array Aollection?


How to generate XML document using an array collection object.
I pushed some values to array collection object and now i need to generate XML out of it.
Plz help me in this...
thank sin advance...

Pratap is offline   Reply With Quote
Old 01-10-2008, 05:25 PM   #2
dr_zeus's Avatar
Join Date: Mar 2005
Location: Silicon Valley
Posts: 1,999

You'll want to create an XMLList. Loop through the ArrayCollection. For each item, create a new XML object and copy the properties of the item to attributes or child nodes. Append each XML object you create to the XMLList.
Josh Tynjala | Feathers
dr_zeus is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing variables between functions elyleebert ActionScript 2.0 2 09-10-2007 02:46 AM
multi dimensional array w/ XML data tsj4 ActionScript 2.0 0 05-01-2007 04:23 AM
Problem to generate an array with xml turb ActionScript 2.0 2 10-07-2004 12:42 AM
trouble with variable getting lost whoo Simple Stuff (Newbies) 2 08-07-2004 05:52 PM
using a loop to generate an array snilbert Simple Stuff (Newbies) 1 07-28-2003 05:08 PM

All times are GMT. The time now is 04:02 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.