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

RE: checking for existence of a file?

Subject: RE: checking for existence of a file?
From: "DuCharme, Robert" <Robert.DuCharme@xxxxxxxxxx>
Date: Mon, 31 Jul 2000 12:13:02 -0400
xslt check file exists
>Is it possible to have my XSL check for the existence of a
>[directory]\filename and only apply a particular template (or portion of
it)
>if the file exists?  (I want to check for the existence of the file for my
>hyperlinks and only create the link if the file is actually there.)  

The XSLT spec intentionally avoids I/O issues to leave as much flexibility
to the XSLT implementation.  So, it depends on which XSLT processor you're
using. If it doesn't offer this exact feature, it may offer a simple way to
call the appropriate function in another language (e.g. Java) to check for
the target file's existence. 

Bob DuCharme          www.snee.com/bob           <bob@  
snee.com>  "The elements be kind to thee, and make thy
spirits all of comfort!" Anthony and Cleopatra, III ii


 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.