In all honesty, all you need is an XML processor that
supports Schema processing. You do not need any XSLT. But if
you are determined to use XSLT, just use XSLT 2.0 with
validation (available with Saxon-SA and AltovaXML, the latter
free).
There's one little detail, you can't do this in pure XSLT because you can't
catch the exception when validation fails. But Saxon-SA does have a
try/catch extension that gets around this problem.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--