← Prev in month ← Prev in thread

DTDs don't have ID or IDREF elements so why does XML Schema?

From
Roger L Costello <>
To
"" <>
Date
2022-03-01T23:32:33Z
ID
<>
Thread
DTDs don't have ID or IDREF elements so why does XML Schema?
Hi Folks,

DTD only allows attributes to be of type ID and IDREF.

XML Schema allows both attributes and elements to be of type ID and IDREF. Why? Is there a compelling use case for declaring an element to be of type ID? Is there a compelling use case for declaring an element to be of type IDREF?

/Roger
← Prev in month ← Prev in thread