"XML document structures must start and end within the same entity"
Hello, everyone.
As described in the subject, I am getting the error message "XML document structures must start and end within the same entity". It is attributed to the <cfxml> tag in the following code:
<cfoutput query="qry" maxrows="1">
<cfxml variable="xmldoc">#trim(REreplace(toString(content),"^[^<]*","","all"))#</cfxml>
<cfset mydoc = toString(xmldoc)>
</cfoutput>
What is the best way to troubleshoot this issue? The code is inherited, not mine.
Thank you,
^_^
