"XML document structures must start and end within the same entity"


hello, everyone.

 

as described in subject, getting error message "xml document structures must start , end within same entity".  attributed <cfxml> tag in following code:

<cfoutput query="qry" maxrows="1">   <cfxml variable="xmldoc">#trim(rereplace(tostring(content),"^[^<]*","","all"))#</cfxml>   <cfset mydoc = tostring(xmldoc)> </cfoutput> 

what best way troubleshoot issue?  code inherited, not mine.

 

thank you,

 

^_^

the best way troubleshoot @ output of #trim(rereplace(tostring(content),"^[^<]*","","all"))#

 

if not produce xml starts same element ends with, know fix.

 

can provide sample of output?

 

jason



More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support