RE: [xsl] file exists?

Subject: RE: [xsl] file exists?
From: David.Pawson@xxxxxxxxxxx
Date: Mon, 7 Jul 2003 08:29:02 +0100
http://www.dpawson.co.uk/xsl/sect2/N2602.html#d2874e16


regards DaveP

> you will need to use extension functions to check for
> existence of file.. the details will vary depending on
> XSLT processor you use. you may even create a XML file
> containing the lists of files, and use the document()
> function to check for a valid reference.
> 
> Regards,
> Mukul
> 
> --- Martin Klaffenboeck <martin.klaffenboeck@xxxxxx>
> wrote:
> > Hello,
> > 
> > Is there something available for xsl like:
> > 
> > <xsl:if test="file_exists('path')">
> > 
> > ??
> > 
> > Thanks,
> > Martin
> > 
> > PS.  A workarround would be to set up a script
> > before xsl and test it 
> > there and set some xml nodes which contain
> > information about if file do 
> > exist or not.
> > 
> > -- 
> > If you've got an idea and need help,
> > or just need general encouragement,
> > write me a message. ;-)
> > 
> >  XSL-List info and archive: 
> > http://www.mulberrytech.com/xsl/xsl-list
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

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


Current Thread