Use the XML Actionscript class to create XML objects. You can use the class
to create internally contained XML objects and you can use the class to read
XML sources either server side script generated or plain text files. You can
use the XML class to communicate with a server script of any variety to read
and parse the XML for processing on the server including writing to a file
or database and returning XML messages.
You cannot write XML files to the local drive or network. Must be the http:
protocol.
Your references are:
http://livedocs.macromedia.com/flash/8/main/00002862.html You might look at the sendAndLoad documentation:
http://livedocs.macromedia.com/flash/8/main/00002879.html You also can look at Flash components for a more GUI way of handling XML.
http://livedocs.macromedia.com/flash/8/main/00000756.html --
Lon Hosford
www.lonhosford.com Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com May many happy bits flow your way!
[quoted text, click to view] <aneesh@arackal.co.in> wrote in message
news:e5oloj$k0v$1@forums.macromedia.com...
hi all
i got a doubt with creating XML objects using classes. the case is:
there should be a class like CreateXML which will intialise an XML object
and has methods to add new elements to the XML. how to create new XML
elements/nodes to this class?
is there anyway to create and write into an external XML file using
actionscript?
can we make an XML object updated with new data elements on the runtime
itself?
hopefully waiting...
aneesh.