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

Chapter 19. Introduction to XML and Cold... > Using XML with ColdFusion MX

Using XML with ColdFusion MX

Now that you have a working understanding of XML and how to create it, you need to know how to actually do something with it. To be able to do anything with XML, you need to be able to access or work with data in an XML document (or stream). ColdFusion MX enables you to do that through a series of ColdFusion tags and functions (which we will review) that allow you to parse, search, transform, edit, and so on. In this section, we are going to look at parsing XML documents we have already created.

It is possible to parse XML using ColdFusion, various functions, and regular expressions, but you would have limited capability to parse the documents and validate against a DTD. Furthermore, using ColdFusion regular expressions or some other method of parsing XML using string functions is so slow as to be unusable in most cases. Unless you only need one piece of data from a XML document, this might be an unworkable solution.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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