Re: Enforcing IDs in XML Schema

Sure, you can use either ID/IDREF as per ordinary XML if the scope is
global, or key/keyref/unique identity constraints.  See the Primer [1]
for a tutorial introduction to the latter.

ht

[1] http://www.w3.org/TR/2004/PER-xmlschema-0-20040318/#specifyingUniqueness
-- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.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 Friday, 30 April 2004 07:15:12 UTC