[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
testing if a file exists
Quick ideas (not elaborated):

1) use extension functions to actually check the existence of the file
or
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
valid.

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
infrequently.

Olivier

> ----------
> 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:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.