Sorry, that didn’t make sense: I mean <cfif isxmldoc(file.whatever)> ??

 

-----Original Message-----
From: Damian Watson [mailto:[EMAIL PROTECTED]
Sent:
24 March 2004 17:10
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] IsXMLDoc

 

Just a thought Giles, shouldn’t you be accessing the file scope rather than the request?

 

-----Original Message-----
From: Giles Roadnight [mailto:[EMAIL PROTECTED]
Sent:
24 March 2004 16:16
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] IsXMLDoc

 

I have this code:

 

            <cffile action="" 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

Reply via email to