Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/4031ebc027c788574948183387b56b68 to your computer and use it in GitHub Desktop.
Save trycf/4031ebc027c788574948183387b56b68 to your computer and use it in GitHub Desktop.
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