Re: raw XML text of a node??

2005-08-14 Thread Roger B.
DRE: Your best bet is: cfset mycontent = nodes[1].toString() / If you use CFML's ToString(nodes[1]), you'll end up with excess XML declarations to strip out. Java's toString() just gives you what you want.. -- Roger Benningfield JournURL http://admin.support.journurl.com/

RE: raw XML text of a node??

2005-08-13 Thread Adrian Lynch
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

RE: raw XML text of a node??

2005-08-13 Thread Dawson, Michael
The xml parser is creating nested elements of your DIV and P tags. You need to specify that you want to keep the literal text within the WHAT tags. To do that, use CDATA in your WHAT element: me what ![CDATA[divphello/p/div]] /what /me Or, if you are generating the source XML in CF, you can use

RE: raw XML text of a node??

2005-08-13 Thread Ewok
Wrap it with ![CDATA[]] Eg. me what![CDATA[divphello/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

Re: raw XML text of a node??

2005-08-13 Thread DRE
, 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

RE: raw XML text of a node??

2005-08-13 Thread Adrian Lynch
, 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