this is a german Web-Mirror of MHONARC.ORG powered by Domainunion AG

[Top] [All Lists]

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?

2013-07-16 07:58:16

But **bk:ISBN-type** is a simpleType defined in the XML Schema; so I have to 
import the XML Schema:

   <xsl:import-schema namespace="";

But then I am back to the problem of the XSLT processor insisting on 
validating all of my XML document.

There might be some XSLT processors that assume that if you import a schema 
then you want to validate every input document, but there's nothing in the spec 
to say that, and certainly in Saxon importing a schema and using it for input 
validation are quite orthogonal.

Michael Kay

XSL-List info and archive:
To unsubscribe, go to:
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>

<Prev in Thread] Current Thread [Next in Thread>