Thanks, that's the sort of thing I need. Yes, I was trying to test
whether the xmlparse would fail before calling it.

Giles Roadnight
http://giles.roadnight.name


-----Original Message-----
From: Kola Oyedeji [mailto:[EMAIL PROTECTED] 
Sent: 24 March 2004 16:28
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] IsXMLDoc

This may/may not be of some help

http://www.forta.com/blog/index.cfm?mode=e&entry=899

kola

>> -----Original Message-----
>> From: Nick de Voil [mailto:[EMAIL PROTECTED]
>> Sent: 24 March 2004 16:18
>> To: [EMAIL PROTECTED]
>> Subject: Re: [ cf-dev ] IsXMLDoc
>> 
>> Try testing the variable resulting from the xmlParse() rather than
the
>> form
>> variable.
>> 
>> ----- Original Message -----
>> From: "Giles Roadnight" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Wednesday, March 24, 2004 4:15 PM
>> Subject: [ cf-dev ] IsXMLDoc
>> 
>> 
>> > I have this code:
>> >
>> >             <cffile action="read" file="#form.xmlUpload#"
>> > variable="request.uploadedXML">
>> >             <textarea rows="10"
>> > cols="70">#request.uploadedXML#</textarea>
>> >
>> >             <cfif isxmldoc(request.uploadedXML)>
>> >
>> > but the cfif is never true. My file is a valid xml document as
xmlparse
>> > works. Why is it always coming up as false? What exactly does IsXML
>> > document look for?
>> >
>> > Thanks
>> >
>> >
>> > Giles Roadnight
>> > http://giles.roadnight.name
>> >
>> 
>> 
>> 
>> 
>> --
>> These lists are syncronised with the CFDeveloper forum at
>> http://forum.cfdeveloper.co.uk/
>> Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>> 
>> CFDeveloper Sponsors and contributors:-
>> *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
>> provided by activepdf.com*
>>       *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
>> proworkflow.com*
>>            *Tutorials provided by helmguru.com* :: *Lists hosted by
>> gradwell.com*
>> 
>> To unsubscribe, e-mail: [EMAIL PROTECTED]


-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to