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

On 8/11/05, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> I wondered about that, too.  Thanks for clarifying.
> 
> -----Original Message-----
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 11, 2005 2:18 PM
> To: CF-Talk
> Subject: RE: FORM scope into SESSION
> 
> IIRC I ran into that vary problem.  Session.form = form does indeed just
> create a reference and I believe it caused me problems.  Session.form =
> duplicate(form) does create a deep copy and is the solution I came to
> use, I believe.
> 
> Sorry for the imprecise details.  Hectic day, oracle database not talk
> to my website, causing all sorts of problems.
> 
> HTH
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214863
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to