W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2013

Re: Context Sensitive Element Definitions in W3C XSD Schema?

From: Michael Kay <mike@saxonica.com>
Date: Sun, 25 Aug 2013 23:59:11 +0100
Cc: xmlschema-dev@w3.org
Message-Id: <C1A09ECC-677A-4FD7-9050-60AD13D0779A@saxonica.com>
To: batides@moltek.net
> As far as I could figure out, though I could be wrong, there is no way to create a local definition for an element in a different namespace from it's parent; is that right? 
> 

I think you can do it using named model groups (xs:group). If a group contains element declarations, those will be local element declarations in the same namespace as the group, which can be a different namespace from the element or type that references the group.

Michael Kay
Saxonica
Received on Sunday, 25 August 2013 22:59:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:16:05 UTC