Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TryCF Gist
<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