Created
May 5, 2021 10:59
-
-
Save trycf/e91d5bd72ba09fc10774b0296891d9b2 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
xmlData = "<foo><bar/></foo>"; | |
xmlObj = xmlParse(xmlData); | |
result = xmlSearch(xmlObj, "//bar"); | |
dump(xmlObj); | |
dump(result); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment