Created
August 19, 2018 07:20
-
-
Save trycf/1aa6b58603f20739907bfa21ff540ff5 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
<cfxml variable="myXMLVar"><myXML><a b="c">d</a><a>e</a>f</myXML></cfxml> | |
<cfscript> | |
arrayDeleteAt(myXMLVar.myXML.a, 1) | |
try { | |
myXMLVar.myXML.a.deleteAt(1) | |
} | |
catch(any e) {writeOutput(e.message)} | |
writeDump(myXMLVar) | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment