Element ID's versus namespaces

Subject: Element ID's versus namespaces
From: "Paul W. Abrahams" <abrahams@xxxxxxxxxxx>
Date: Wed, 24 Nov 1999 20:41:21 -0500
Sec. 5.2.1 of the XPath spec says that an element may have a unique
identifier (ID), which is the value of the attribute that is declared
in the DTD as type `ID'.  That implies that a document using IDs must
have a corresponding DTD.   However, namespaces are tightly integrated
into XPath also, and it seems to be almost impossible in any practical
sense to compose a DTD for a document that derives its names from
multiple namespaces.  That seems to be the gist of a lot of discussion
in xmldev not long ago.

So how is this conflict being resolved in the real world?

Paul Abrahams




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread