XML - looking to return an XML object original parced format

2006-06-13 Thread Ian Sheridan
My subject line pretty much says it all, but let me clarify. I want to return an XML object back to it's original format after I have used XMLSEARCH on it. I guess it's a matter of aesthetic but I'd like to be able to use the node name as the name of the structure I am accessing. EX.

Re: XML - looking to return an XML object original parced format

2006-06-13 Thread Rob Wilkerson
Can you use XMLSearch()? #node[1].value# I recommend dumping the node value to ensure that the way my code accesses that value is correct. It may be a little off - I'm winging it, here. On 6/13/06, Ian Sheridan <[EMAIL PROTECTED]> wrote: > My subject line pretty much says it all, but let me c

Re: XML - looking to return an XML object original parced format

2006-06-13 Thread Ian Sheridan
Well this is about returning the data structure to a state that it was in when you first parsed the xml. Which I have figured out how to do. Here it is: done... :) - Ian On 6/13/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote: > Can you use XMLSearch()? > > /> > > #node[1].value# > > I recomme

RE: XML - looking to return an XML object original parced format

2006-06-13 Thread Dawson, Michael
rce) cfset xmlResult = xmlSearch(xmlObj, "//root/") cfset xmlString = xmlResult[1].toString() M!ke -Original Message- From: Ian Sheridan [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 10:24 AM To: CF-Talk Subject: Re: XML - looking to return an XML object original parced format We

Re: XML - looking to return an XML object original parced format

2006-06-13 Thread Ian Sheridan
sage- > From: Ian Sheridan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 13, 2006 10:24 AM > To: CF-Talk > Subject: Re: XML - looking to return an XML object original parced > format > > Well this is about returning the data structure to a state that it was > in when yo