How to check if document(file) was able to find and read the file?2003-04-09 03:32:33Hi, 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
|
|