Cheenu Subramanian wrote:From what I found, exception-handling(throwing exceptions) is not available in XSLT 1.0. XSLT 2.0 seems to have this feature.
Really? I did a quick Internet search and I can't find this exception-throwing feature of XSLT 2.0 mentioned anywhere. The XSLT 2.0 Recommendation doesn't use the
word "throw" anywhere, but perhaps they use a different word for it? What is the feature that you're referring to?
If you want to terminate your XSL transformation abruptly, then
<xsl:message terminate="yes"/> is the easiest way to do that.