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]
