xsl-list
[Top] [All Lists]

RE: Does XSLT support schema validation

2003-11-21 00:52:22

1. I have a java application that will be using XSLT, through 
the Java JAXP classes. We would like to make sure that both 
the input and output XMLs are in aggreement to 2 respective 
schemas. Is it possible to do this using XSLT. If possible 
are there any JAXP interfaces for this mechanism.

You can invoke a schema validator on the input or output documents but
(a) this has nothing to do with XSLT
(b) there's no standard API for it yet.

XSLT 2.0 supports validation from within the stylesheet (but it's not
currently supported in Saxon), and Java APIs to control validation are
coming along soon.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list