Using XML and WDDX

This chapter describes how to use Macromedia ColdFusion MX 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

The XML document object

ColdFusion XML tag and functions

Using an XML object

Creating and saving an XML document object

Modifying a ColdFusion XML object

Validating XML documents

Transforming documents with XSLT

Extracting data with XPath

Example: using XML in a ColdFusion application

Moving complex data across the web with WDDX

Using WDDX