xsl-list
[Top] [All Lists]

Re: [XSLT 2] rescue

2003-06-17 05:42:10
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



<Prev in Thread] Current Thread [Next in Thread>