Re: Options for dealing with IDs

From: "Robin Berjon" <robin.berjon@expway.fr>

> What happens when a DTD declares attribute "name" to be of type ID and
> it occurs
> on the same element as xml:id with a different id, in a validated
document?

I have never understood this restriction in XML. I understand the problem of
having two elements with the same name, but not of having two names on one
element.

Can anyone explain to me what breaks when an element has two (different)
names? Why does XML prevent you from having more than one attribute of type
ID on an element?

Steven Pemberton

Received on Tuesday, 21 January 2003 05:42:00 UTC