Re: [xsl] [XSLT 2] rescue

Subject: Re: [xsl] [XSLT 2] rescue
From: "I-Lin Kuo" <ikuoikuo@xxxxxxxxxxx>
Date: Tue, 17 Jun 2003 12:42:10 +0000
If my XSLT application, running without supervision (eg on the server), gets fed a document which references a non-existent file, then my application must be able to deal with that; It is unacceptable to abort the whole transformation. Since I'm not aware of any facilities to test for the existence of files (validity of paths/URIs), I need a way to recover from the currently unfortunately fatal error raised >after a failed unparsed-text().

in Apache's cocoon, there's a resource-exists action which allows you to check the existence of a file.


I-Lin Kuo, Ann Arbor, MI
Macromedia Certified ColdFusion 5.0 Advanced Developer
Sun Certified Java 2 Programmer
Ann Arbor Java Users Group (www.aajug.org) SUN Top 25 JUG

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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



Current Thread