W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2000

Specifying scope of uniqueness in XML Schemas?

From: Roger Costello <costello@mitre.org>
Date: Mon, 03 Jan 2000 11:45:58 -0500
Message-ID: <3870D246.C68BB9FD@mitre.org>
To: xml-dev@ic.ac.uk
CC: www-xml-schema-comments@w3c.org, "Schneider,John C." <jcs@mitre.org>, "Cokus,Michael S." <msc@mitre.org>, costello@mitre.org
Hi Folks,

In section 3.7 of the XML Schema spec it talks about the mechanism for
indicating uniqueness (of elements, attributes, or combinations
thereof).  It says that you can specify uniqueness within a region, or
over the entire document:

"Constraints can be specified to have document-wide scope or to hold
within the scope of particular elements."

Can someone explain to me how you indicate the scope of a constraint?  I
am guessing that it is with the selector element, but I am not sure. 
Received on Monday, 3 January 2000 11:44:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:46 UTC