Schema validation of xml document from within an XSL processor

This may be a FAQ, but I haven't yet found an answer: 

How can I get one of the xsl processors, e.g.,  Xalan-J or Saxon, to
validate the incoming XML document against its referenced XML Schema
document? 

I understand that Xerces 2 is now incorporated into Xalan and can also
easily be used with Saxon. I need to know how to get either of these to
validate the incoming xml. 

Anybody done this? Could you point me at some code that does this?

Thanks,

Mark

Mark Feblowitz                                   	
XML Architect
       [t]   617.715.7231                                     	
       [f]   617.495.0188
Frictionless Commerce Incorporated 	
       [e]  mfeblowitz@frictionless.com <mailto:mfeblowitz@frictionless.com>

       [w] http://www.frictionless.com <http://www.frictionless.com> 
       [m] 400 Technology Square, 9th Floor
             Cambridge, MA 02139 
Open Applications Group Incorporated
       [e]  mfeblowitz@openapplications.org
<mailto:mfeblowitz@openapplications.org> 
       [w] http://www.openapplications.org <http://www.openapplications.org>

Received on Wednesday, 1 May 2002 13:56:19 UTC