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