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

Chapter 14. Working with XML > Parsing XML Documents

Parsing XML Documents

An XML document by itself is just a string of text. To harness the power of XML, you must parse it to create an object that ColdFusion can access much like a collection of structures and arrays.

Using XmlParse()

To parse an XML document stored somewhere on disk, use <cffile> and XmlParse(), as demonstrated in Listing 14.2.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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