W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2008

multiple attribute groups for an elment possible?

From: Thompson, Zach <Zach_Thompson@platts.com>
Date: Mon, 10 Mar 2008 16:42:56 -0400
Message-ID: <C9F4D947A9B31145A3B2576F93022E7465587D@NJ01EXM504.mhf.mhc>
To: <xmlschema-dev@w3.org>
Hi all,


I'm trying to figure if it's possible to have essentially several valid
attribute groups per element.  For instance, if I have two types of


<symbol type="a" a="val" b="val" c=123 />

<symbol type="b" x="val" y="val" z=123 />


I would like to say that type "a" has these required/optional
attributes, i.e. a, b, and c, and type "b" a different set, i.e. x, y,
and z.  Is it possible to say that "symbol" can have one of several


I realize I can just make aSymbol and bSymbol but would like to avoid
that route.




The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer.  The McGraw-Hill Companies, Inc. reserves the right, subject to applicable local law, to monitor and review the content of any electronic message or information sent to or from McGraw-Hill employee e-mail addresses without informing the sender or recipient of the message.
Received on Tuesday, 11 March 2008 07:48:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:14 UTC