February 15th, 2003, 11:08 PM
February 28th, 2003, 07:01 AM
Key and Keyref
key and keyref must be defined in the same element definition. Thus the key from aisle/item to keyref items/item must in this case both be defined in the supermarket element definition.
An XML document based on the example cannot validate due to this issue.
Doing More With XML Schemas (part 3)
Doing More With XML Schemas \(part 3\)
This article introduces you to the concept of uniqueness in the XML Schema world, showing you how to use built-in schema constructs to enforce uniqueness within your XML document instances.
Please discuss this article in this thread. You can read the article here .