[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] What is best practice for dealing with errors in XSLT
Hi Folks, While processing an input document, my XSLT transform discovered an error. What is the best way of dealing with that error? One approach to dealing with errors is to sprinkle <xsl:message terminate="yes"> elements liberally throughout the XSLT document. But the behavior of <xsl:message terminate="yes"> varies from processor to processor. That's not appealing. It would be nice if the XSLT transform could generate two result documents - one result document contains the "ordinary" output and the other result document contains descriptions of errors that were encountered during processing. Alas, XSLT 1.0 does not provide the ability to generate multiple output files. What's your suggestion for dealing with errors? /Roger
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|