A unique ID question ?
DuCharmR at moodys.com
Fri Nov 5 22:50:54 GMT 1999
>I was wondering if the value of an ID attribute has to be unique within a
>document or only within a fragment.
>From the "ID" validity constraint in section 3.3.1 of the spec
(http://www.w3.org/TR/REC-xml#sec-attribute-types): "A name must not appear
more than once in an XML document as a value of this type; i.e., ID values
must uniquely identify the elements which bear them."
Bob DuCharme www.snee.com/bob <bob@
snee.com> see www.snee.com/bob/xmlann for "XML:
The Annotated Specification" from Prentice Hall.
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev