XML Functions

namedescription
addSOAPRequestHeaderAdds a SOAP header to a web service request before making the request.
addSOAPResponseHeaderAdds a SOAP response header to a web service response. Call only from within a CFC web service function that is processing a request as a SOAP web service.
getSOAPRequestReturns an XML object that contains the entire SOAP request. Usually called from within a web service CFC.
getSOAPRequestHeaderObtains a SOAP request header. Call only from within a CFC web service function that is processing a request as a SOAP web service.
getSOAPResponseReturns an XML object that contains the entire SOAP response after invoking a web service.
getSOAPResponseHeaderReturns a SOAP response header. Call this function from within code that is invoking a web service after making a web service request.
isSOAPRequestDetermines whether a CFC is being called as a web service.
isWDDXDetermines whether a value is a well-formed WDDX packet.
isXMLDetermines whether a string is well-formed XML text.
isXmlAttributeDetermines whether the function parameter is an XML Document Object Model (DOM) attribute node.
isXmlDocDetermines whether the function parameter is a ColdFusion XML document object.
isXmlElemDetermines whether the function parameter is an XML document object element.
isXmlNodeDetermines whether the function parameter is an XML document object node.
isXmlRootDetermines whether the function parameter is the root element of an XML document object.
xmlChildPosGets the position of a child element within an XML document object.
xmlElemNewCreates an XML document object element.
xmlFormatEscapes special XML characters in a string so that the string can be used as text in XML.
xmlGetNodeTypeDetermines the type of an XML document object node.
xmlNewCreates an XML document object.
xmlParseConverts XML text into an XML document object.
xmlSearchUses an XPath language expression to search an XML document object.
xmlTransformApplies an Extensible Stylesheet Language Transformation (XSLT) to XML. The XML can be in string format or an XML document object.
xmlValidateUses a Document Type Definition (DTD) or XML Schema to validate an XML text document or an XML document object.