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 Developing ColdFusion MX Applications with CFML.

Return value

A string; an XML document after the XSLT is applied

Category

Conversion functions, Extensibility functions, XML functions

Syntax

XmlTransform(xmlString | xmlObj, xslString) 

See also

cfxml, IsXmlDoc, XmlChildPos, XmlChildPos, XmlFormat, XmlNew, XmlParse, XmlSearch

History

New in ColdFusion MX: this function is new.

Parameters

Parameter Description
xmlString | xmlObj
A string that represents the XML document, or a parsed object representation of it.
xslString
XSLT transformation to apply.

Comments