RE: how to test if a file exists ?

Subject: RE: how to test if a file exists ?
From: ogerardin.cs@xxxxxxxxxxxxxxx
Date: Thu, 29 Jun 2000 14:06:19 +0200
Quick ideas (not elaborated):

1) use extension functions to actually check the existence of the file
2) build an XML file containing the list of available graphic files, and
access it through the document() function to test if a given reference is

Using 2) does not bind you to a specific XT processor, and is probably more
efficient. Of course, it's only dependable if the graphic files change


> ----------
> From: 	Jean-Claude Tarby[SMTP:Jean-Claude.Tarby@xxxxxxxxxxxxx]
> Reply To: 	xsl-list@xxxxxxxxxxxxxxxx
> Sent: 	Thursday, June 29, 2000 12:58
> To: 	xsl-list@xxxxxxxxxxxxxxxx
> Subject: 	how to test if a file exists ?
> 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 ?
> J.C.
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread