[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] In XPath 2.0 can my XSLT program validate the input and check whether the validation succeeded?


Subject: Re: [xsl] In XPath 2.0 can my XSLT program validate the input and check whether the validation succeeded?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sat, 20 Jul 2013 22:40:41 +0100

On 20 Jul 2013, at 22:36, Michael Kay wrote:

>> I want to test whether the validation succeeded.
>

Sorry, for that you need try/catch in XSLT 3.0. In XSLT 2.0 (as in XQuery 1.0)
a validation failure is always a dynamic error.

Michael Kay
Saxonica


Current Thread
Keywords