xsl-list
[Top] [All Lists]

RE: Validating against schema subset

2005-11-08 02:52:28

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/



--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>