Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trycf/ac27bc3009ec9932ac452caa9b7ceb9c to your computer and use it in GitHub Desktop.

Select an option

Save trycf/ac27bc3009ec9932ac452caa9b7ceb9c to your computer and use it in GitHub Desktop.
TryCF Gist
<Cffunction returnType="string" name="x">
<cfreturn '<?xml version="1.0" encoding="utf-8"?><myXml></myXml>' />
</Cffunction>
<cfscript>
foo = ( xml xmlData ) => dump( xmlParse( x() ) );
dump( x() )
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment