Subject: RE: [xsl] Problems checking if document() exists or using document() pointing to different directory From: "Michael Kay" <mhk@xxxxxxxxx> Date: Fri, 9 Jan 2004 09:59:37 -0000 |
> but 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Problems checking if document, Karen Dunstall | Thread | [xsl] UBB Code and XSLT, Karl J. Stubsjoen |
Re: [xsl] mixture of XML and HTML i, David Carlisle | Date | RE: [xsl] replacing %20, Michael Kay |
Month |