User Guide

746 Chapter 3: ColdFusion Functions
XmlTransform
Description
Applies an Extensible Stylesheet Language Transformation (XSLT) to an XML document object
that is represented as a string variable. An XSLT converts an XML document to another format or
representation by applying an Extensible Stylesheet Language (XSL) stylesheet to it. For more
information, see Chapter 31, “Using XML and WDDX, in Developing ColdFusion MX
Applications.
Returns
A string; an XML document after the XSLT is applied
Category
Conversion functions, Extensibility functions, XML functions
Function syntax
XmlTransform(xmlString | xmlObj, xslString)
See also
cfxml, IsXmlDoc, XmlChildPos, XmlChildPos, XmlFormat, XmlNew, XmlParse,
XmlSearch
History
ColdFusion MX: Added this function.
Parameters
Parameter Description
xmlString | xmlObj A string that represents the XML document, or a parsed object
representation of it.
xslString XSLT transformation to apply.