Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TryCF Gist
<cfxml variable="myXMLVar"> <myXML a="b"> <foo>foo1</foo> <foo>foo2</foo> <foo></foo> <bar>bar1</bar> <bar></bar> foobar </myXML> </cfxml>
<cfscript>
writeDump(myXMLVar.myXML.update("xmlText", "bla bla"))//returns a useless struct that doesn't contain the "bla bla" XmlText (bad)
writeDump(myXMLVar)
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment