XmlSearch (xmlDoc, xPathString) DescriptionUses an XPath language expression to search an XML document that is represented as a string variable. Example<cffile action="read" file="d:\cfusionmx\wwwroot\xml\users.xml" variable="XMLFileText"> <cfset myXMLDocument=XmlParse(XMLFileText)> <cfdump var = #myXMLDocument#> <cfset searchterm = XMLsearch(myXMLDocument, "/users")> <cfdump var = #searchterm#> |