An attribute is only added to the ID map used by getElementById() if it is defined to be of type ID in a document type declaration. If you don't have a DTD or your new element isn't defined in the DTD or the desired attribute (by convention "id") defined as ID type, then things will not behave as expected.
If all those things are followed then it should work, however you might try turning validation on. Identifying the version of xerces-j being used may be helpful in case it is actually a bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
