I just added something similar to Xerces-J, it's a method called
setIdAttributeNode() on Element that one can use to make any attribute
an ID attribute that is being maintained accordingly by the
implementation. It would be good if somebody could port it to Xerces-C.

I also launched a discussion on this within the W3C DOM WG to seek a
standard API but I'm not sure what will come out of it as there are
issues with how this works in combination with grammars (DTDs and
Schemas).
-- 
Arnaud  Le Hors - IBM, XML Standards Strategy Group / W3C AC Rep.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to