RE: how to test if a file exists ?

Subject: RE: how to test if a file exists ?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 3 Jul 2000 09:56:56 +0100
> 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


Current Thread