[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
alternative obligatory attributes
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

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.