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

RE: optional, but at least one required

From: Virginia Wiswell <vwiswell@verizon.net>
Date: Tue, 09 Oct 2007 15:13:28 -0400
To: <xmlschema-dev@w3.org>
Message-id: <PDEHLOEJGKNHGIFPMDICAEHDCCAA.vwiswell@verizon.net>
RE: optional

I have a similar situation that I'm having trouble with. I have a and b, at
least one of them has to appear once AND ONLY ONCE. a must come before b.
The examples in this thread allow more than one occurrence of a or b.

This is my first attempt at customizing a schema and I'm stuck.

TIA, Virginia

> You need to specify the requirements in a little more detail:
>
> * are multiple occurrences of a, b, and c allowed?
>
> * what constraints do you want to impose on the ordering of the elements?
>
> Michael Kay
> http://www.saxonica.com/
Received on Wednesday, 10 October 2007 04:37:18 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.