- From: Michael Gruebsch <michael.gruebsch@pentaprisma.com>
- Date: Fri, 22 Mar 2002 18:48:34 -0700
- To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Description:
Allow choice groups to include attributes. By this the following
use cases could be covered:
* allow only certain combinations of attributes resp. attribute
groups
Example: Allow either the definition of an attribute name or
a reference to an element:
<A id="x" name="some.name"/>
<A idref="x"/>
Compare this to the content model of XLink attributes where
only certain attribute combinations are allowed.
* make it possible to allow only certain combinations between
attributes and elements
Example: Reference to an element which is out of scope
<A id="x" a="5"/>
<B idref="x"/>
can be used *instead of* a local element
<B>
<A a="5"/>
</B>
Compare this to the definition of the XML W3C Schema where
<xsd:element>
either refer to a global definition or is defined locally.
Michael
----------------------------------------------------------------------
PENTAPRISMA TECHNOLOGIES GmbH
www.pentaprisma.com
Michael Grübsch
phone: +49 (361) 4262-266
fax: +49 (361) 4262-261
mailto: michael.gruebsch at pentaprisma.com
-----------------------------------------------------------------EOT--
Received on Friday, 22 March 2002 20:50:56 UTC