|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: declaring xml:id attributes
From: Michael Kay <mike@saxonica.com>
Date: Fri, 15 Sep 2006 13:08:41 +0100 To: "'Wolfgang Jeltsch'" <wolfgang@jeltsch.net>, <xmlschema-dev@w3.org> Message-ID: <008601c6d8bf$af4c8aa0$6601a8c0@turtle> > If I want to restrict the > type of the xml:id attributes of one kind of element in one > way and the type of the xml:id attribute of another kind of > element in a different way then I seem to have a problem > since with the approach you described you cannot declare > different variants of xml:id attributes for different kinds > of elements. In XMLSchema, if an attribute is in a namespace, and it's a different namespace from its parent element, then the attribute declaration must be a global declaration, which means it can't vary from one element to another. Michael Kay http://www.saxonica.com/Received on Friday, 15 September 2006 12:09:06 GMT |
Subscribe in XML format
|






