Its not my xml.  I'm parsing a feed that I dont have control over.
DRE

On 8/13/05, Ewok <[EMAIL PROTECTED]> wrote:
> Wrap it with <![CDATA[]]>
> 
> Eg.
> 
> <me>
> <what><![CDATA[<div><p>hello</p></div>]></what>
> </me>
> 
> -----Original Message-----
> From: Adrian Lynch [mailto:[EMAIL PROTECTED]
> Sent: Saturday, August 13, 2005 2:36 PM
> To: CF-Talk
> Subject: RE: raw XML text of a node??
> 
> Throw a ToString() in there somewhere, see if that helps.
> 
> Ade
> 
> -----Original Message-----
> From: DRE [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2005 17:28
> To: CF-Talk
> Subject: raw XML text of a node??
> 
> 
> Hi, This amazes me. It seems there is no function to get the raw xml
> component of a node?
> 
> See this code
> 
> <cfsavecontent variable="me">
> <me>
> <what>
> <div><p>hello</p></div>
> </what>
> </me>
> </cfsavecontent>
> 
> <cfset me1 = xmlparse(me)>
> 
> <cfset nodes = xmlsearch(me1,"//what")>
> 
> <cfdump var="#nodes[1]#">
> 
> <cfoutput>#nodes[1].XMLText#</cfoutput>
> 
> You can see in the cfdump the html text I want to extract
> (<div><p>hello</p></div>) but when I go to xmltext there is nothing
> there.  It continues to treat it as xml and break it up into
> structures.
> 
> Anybody know if theres a trick or missed function or do I have to go
> to java and see if that implementation is more sophistocated?
> 
> DRE
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 12/08/2005
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214870
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to