|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] extending an xs:attributeGroup?
From: Robert Koberg <rob@koberg.com>
Date: Tue, 19 Jul 2005 12:00:56 -0400 Message-ID: <42DD23B8.3050904@koberg.com> To: xmlschema-dev@w3.org Hi, We have a base schema that is used by multiple projects. In one project we need to add an attribute and make it available on all elements. I currently have an attributeGroup in all complexTypes/elements, like: <xs:attributeGroup name="core.attrs"> <xs:attribute name="id" type="xs:ID"/> <xs:attribute name="title" type="xs:string"/> </xs:attributeGroup> is there some way to extend this attributeGroup so that I can make another attribute available? I don't want to change the base schema, but want the group to appear as: <xs:attributeGroup name="core.attrs"> <xs:attribute name="id" type="xs:ID"/> <xs:attribute name="title" type="xs:string"/> <xs:attribute name="role" type="xs:string"/> </xs:attributeGroup> possible? thanks, -RobReceived on Tuesday, 19 July 2005 16:01:08 GMT |
Subscribe in XML format
|






