RE: Problems checking if document() exists or using document() pointing to different directory2004-01-09 02:59:37but the first thing I tried to do is test if the document exists. Unfortunately, I'm not sure how to do this without actually using the document statement itself. Testing whether a document exists can't be done directly in XSLT. If you're using a Java processor, you can write a URIResolver that does the check, and returns (say) an error document <error>message</error> if the requested document doesn't exist. Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|