• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 28. XML Data > Parsing XML Data

Parsing XML Data

So how do you get XML data into Flash? To do that, a text XML document must be brought into Flash and converted to an XML object that ActionScript can use. Converting text to another format like this is usually called parsing. The following sections describe the basic XML object functions and how to use them to get and read XML data.

Converting Text into XML

The easiest way to make an XML object is to convert a small piece of properly formatted text into XML. You can do this just by creating a new XML object and feeding it the text:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint