Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


multiple attribute groups for an elment possible?

From: "Thompson, Zach" <Zach_Thompson@------.--->
To: <xmlschema-dev@--.--->
Date: 3/10/2008 12:43:00 PM
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
symbols,

 

<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
attributeGroups?

 

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

 

Cheers,

Zach
--------------------------------------------------------

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.
--------------------------------------------------------


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent