This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: how to test if a file exists ?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: how to test if a file exists ?
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 3 Jul 2000 09:56:56 +0100
- Reply-To: xsl-list at mulberrytech dot com
> I want to include links to graphic files in a html document which is
> produced by a stylesheet, but I want to put the link only if
> the graphic
> file exists on the hard disk. How to do that ?
You need to call an extension function that does the test. Details will
depend on which XSLT processor you're using. (If you want to distinguish the
hard disk from floppy disks and CDROM drives, you'll also need to know your
operating system quite well).
Mike K
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list