Re: xml attributes

"Wood, Marcus" <Marcus.Wood@egg.com> (by way of "C. M. Sperberg-McQueen" <cmsmcq@acm.org>) writes:

> I'm trying to implement a solution using xml schemas.  The problem I am
> having is one concerend with xsd:attributes.  I would like to know how, if
> possible you can declare two attributes but only require one or other but
> not both.

I'm sorry but there's no support for co-occurence restrictions such as
this in XML Schema 1.0.  Such a facility is under consideration for
version 1.1.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

Received on Wednesday, 30 October 2002 04:17:04 UTC