- From: Liam Quin <liam@w3.org>
- Date: Thu, 4 Mar 2004 13:07:16 -0500
- To: public-qt-comments@w3.org
There's no easy way right now to check for the existance of a local file except by trying to parse (and possibly validate) it with document(). For example, consider using XML Query to generate an XHTML Web page with embedded images. One might not want to include an image if the file isn't there, but there's no way to test for a non-XML file in F&O today. I suggest adding file-exists($fname as XS:string) An alternative I shall propose in a separate comment is to provide more access to an implementation's underlying URI resolver library. Liam -- Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/ http://www.holoweb.net/~liam/
Received on Thursday, 4 March 2004 13:38:41 UTC