[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member