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 |
Michael Kay - 20 Jul 2013 21:36:39 -0000
- Michael Kay - 20 Jul 2013 21:40:45 -0000 <=
|
|