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

Re: XML Schema

From: Eddie Robertsson <eddie@allette.com.au>
Date: Wed, 28 Nov 2001 20:45:08 +1100
Message-ID: <3C04B224.95DE1EBE@allette.com.au>
To: Ashok Malhotra <ashokma@microsoft.com>
CC: caroline.schappler@bnpparibas.com, castor-dev@exolab.org, xmlschema-dev@w3.org
Re: XML Schema
> Then you want to impose a constraint that at least one occurrence of
> element
> x must have a specified attribute value.  This is an example of what are
> sometimes called co-occurrence constraints.  Such constraints cannot be
> defined using XML Schema.

This would be trivial to implement using embedded Schematron rules. See [1]
for an example.

Cheers,
/Eddie

[1] http://lists.w3.org/Archives/Public/xmlschema-dev/2001Nov/0049.html
Received on Wednesday, 28 November 2001 04:38: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.