Subject: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] iterating a nodeset (prov, David Carlisle | Thread | Re: [xsl] How to check if document(, David Carlisle |
Re: [xsl] Resetting Parameters, Shane Sawyer | Date | Re: [xsl] Resetting Parameters, David Carlisle |
Month |