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

alternative obligatory attributes

From: Klöck, Erwin <Erwin.Kloeck@bayernlb.de>
Date: Thu, 12 Mar 2009 18:06:06 +0100
Message-ID: <6E8B9135BA0FC84EBF6ED86B94B0E74107323B46@BLEXMUCMAIL1.bayernlb.sfinance-mail.net>
To: <xmlschema-dev@w3.org>
Hi,

is it possible to define alternative obligatory attributes for an element? What I want is something like the following,
where the element otto must have either of two attributes but not both. If it is possible, how would one do this?

<top>
	<file uri="xxxx"/>
	<file relative-path="yyyy"/>
</top>

Thank you for your interest.


Erwin Klöck
   Bayerische Landesbank 
   Geschäftsbereich Financial Office, IT and Operations
   Organisation & Informatik
   Team Banksteuerung Finance -4493-
   Brienner Straße 24R
   D-80333 München
   Telefon: +49 89 / 2171-21420
   Telefax: +49 89 / 2171-27546
   mailto:erwin.kloeck@bayernlb.de
   Internet: http://www.bayernlb.de

   HRA München 76030; Sitz: München
Received on Thursday, 12 March 2009 17:11:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:11 GMT