[Home] [By Thread] [By Date] [Recent Entries]

Subject: How to check if document(file) was able to find and read the file?
From: r.devries@xxxxxxxx
Date: Wed, 9 Apr 2003 12:32:33 +0200
Hi,

I want to display an error message if with document(file) the file doesn't
exist. How can I check that?

So I have:
<xsl:variable name="Descriptions" select="document('Descriptions.xml')"/>

and I want to test if Descriptions contains anything, but these won't work:
<xsl:when test="$Descriptions">
<xsl:when test="count($Descriptions)>0">

Greetings René
???{@   @}
  ??????^
?? ???\_/

"You don't need eyes to see, you need vision!"


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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member