if you do 

<cfset wotsit = xmlsearch(myxml.XmlRoot, "/thing/wotsit")>
<cfset mywotsit = wotsit[1]>

#IsXmlDoc(mywotsit)# = no 



Justin 

> -----Original Message-----
> From: Paul Johnston [mailto:[EMAIL PROTECTED]]
> Sent: 04 December 2002 17:35
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] XML + XPath
> 
> 
> Okay, I may be wrong, but...
> 
> When you do parsing and stuff on an XML document, you usually end up
> with things like Nodes.  Now a document is not a type of Node (Java
> Object-wise) so what could be happening is that you are trying to do a
> function on a Node and not a Document.  Try doing xmlParse on the
> retrieved Node (ie wotsit) before doing an xmlSearch on it.
> 
> HTH
> 
> Paul
> 
> PS I haven't played with it yet, but that would make sense.
> 
> Paul Johnston
> Technical Architect
> PJ Net Solutions Ltd
> http://www.pjnetsolutions.com
> +44 (0)7866 573013
> 
> 
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to