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

Re: [xsl] How to check an element's type against an XSD simpleType and skip that element if it does not conform to the simpleType?


Subject: Re: [xsl] How to check an element's type against an XSD simpleType and skip that element if it does not conform to the simpleType?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 16 Jul 2013 10:23:05 +0100

On 16/07/2013 10:15, Costello, Roger L. wrote:
Okay, I added that to the top of my XSLT program. I still get the
same error.

how are you calling the processes? If you are validating the input file you will get an error from the schema validator before XSLT (conceptually) starts, so before stuff can be stripped. (and if you pass in unvalidated input, there are no annotations to strip actually.

David


________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________



Current Thread
Keywords