>There doesn't seem to be any way to add an attribute to a DOM_Element and
>specify that it's an ID.

Adding the attribute should automagically make it an ID, if the DOM knows
which attributes are IDs and which aren't.

>From the DOM spec's definition of getElementByID:
     Note: The DOM implementation must have information that says
     which attributes are of type ID. Attributes with the name "ID"
     are not of type ID unless so defined. Implementations that do
     not know whether attributes are of type ID or not are expected
      to return null.


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

Reply via email to