RE: [xsl] XSD Validation with XSLT

Subject: RE: [xsl] XSD Validation with XSLT
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 10 Dec 2004 10:02:38 -0000
> Hello Michael,
> 
> Although this might be a good idea, I can't really go that 
> way, because
> I want to do this without writing any custom code (e.g. Java handling
> Exceptions)
> 
> Couldn't I just use document() to compare the current 
> document with the
> XSDs requirements?
> 

If you just want a yes/no answer (and filling in of default values from the
schema in the case where it's valid), then sure, you don't need to write any
custom code. But you seemed to be more ambitious than that.

Michael Kay
http://www.saxonica.com/

Current Thread