Chapter 31: Using Xml And Wddx - MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual

Developing coldfusion mx applications
Table of Contents

Advertisement

CHAPTER 31
Using XML and WDDX
This chapter describes how to use ColdFusion to create, use, and manipulate XML documents.
This chapter also presents Web Distributed Data Exchange (WDDX), an XML dialect for
transmitting structured data, and describes how to use it to transfer data between applications and
between CFML and JavaScript.
This chapter does not present XML concepts. Before you read this chapter you should become
familiar with XML.
Contents
About XML and ColdFusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670
The XML document object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
ColdFusion XML tag and functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676
Using an XML object. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677
Creating and saving an XML document object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
Modifying a ColdFusion XML object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 681
Transforming documents with XSLT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
Extracting data with XPath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
Example: using XML in a ColdFusion application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
Moving complex data across the web with WDDX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
Using WDDX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
669

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents