RE: [xsl] Validating against schema subset

Subject: RE: [xsl] Validating against schema subset
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 8 Nov 2005 09:52:28 -0000
> Thanks for the reply. But in my case child elements are not defined at
> root. Is there anyway to validate in this case?

You can validate against a global element declaration or against a global
type definition. If it's a local element declaration with an anonymous type
then you've got problems. The only way would be either (a) to change the
schema, or (b) to wrap the element in some scaffolding that does implement a
global element declaration or type, and then validate the wrapper element.

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

Current Thread