thanks all, its clear now.

...tony

tony weeg
senior web applications architect
navtrak, inc.
www.navtrak.net
[EMAIL PROTECTED]
410.548.2337

-----Original Message-----
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 11:46 AM
To: CF-Talk
Subject: RE: isXMLDOC

To expand a little.


<cfsavecontent
variable="myXML"><root><sub>hella</sub></root></cfsavecontent>


<cfdump var="#IsXMLDoc(myXML)#" />
<cfdump var="#IsXMLDoc(XMLParse(myXML))#" />


Try the above to see the change.


IsXMLDoc() returns true if the argument is an xml document object. What you
are passing it is a string.


Ade

-----Original Message-----
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: 09 December 2003 16:32
To: CF-Talk
Subject: RE: isXMLDOC

Try paring the string to a xml document object.

IsXMLDoc() might have been called IsXMLDocObject() to avoid confusion.

Ade

-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: 09 December 2003 16:14
To: CF-Talk
Subject: isXMLDOC

what kind of xml document does this function have to see to return a 1?

<tony>
<human>1</human>
</tony>

shouldn't something that simple work?

...tony

tony weeg
senior web applications architect
navtrak, inc.
www.navtrak.net
[EMAIL PROTECTED]
410.548.2337
  _____
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to