Yes it is possible, there are lots of ways to use e4X to create new XML
from code.  I won't go into server-side options as well, but client side
you can also apply an XSLT transform on the XML using Javascript - but
that of course requires knowledge of Javascript and XSLT.  

But I think it would be less work to turn your XML into objects call
those directly in Actionscript, rather than try and transform the XML
into another form.  You're already parsing through the object anyway -
turning it into arrays of objects (class instances like ValueObjects or
VOs) would be a lot easier than creating new XML in my experience.  


Jason Merrill 

Bank of  America  Global Learning 
Learning & Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Lehr,
Theodore
Sent: Thursday, March 25, 2010 2:24 PM
To: Flash Coders List
Subject: [Flashcoders] xml to xml

So I am getting some xml imported that is not formed as I would like -
is it possible to parse it into xml that is formed how I would like it
to be?

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to