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>

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?

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

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
   Internet: http://www.bayernlb.de

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

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