- From: Karl Scheibelhofer <Karl.Scheibelhofer@iaik.at>
- Date: Tue, 8 May 2001 14:09:09 +0200
- To: <www-dom@w3.org>
perhaphs, one of you could clearify this issue. is it the responsibility of the 'importNode' function to take care of ID attributes? i mean, should it investigate all imported attributes, if they are of type ID and register them to the document, such that a subsequent call to 'getElementById' really returns the expected result node. if the 'importNode' function does not care about ID attributes, the 'getElementById' is sort of useless after a call to 'importNode'. moreover, the application has no means to find out what attributes are of type ID and no way to register IDs to a document. i am aware of the fact that this can only work, if the attributes are of the same implementation. xerces-j for instance, does not care about the IDs. but i think this is not the right solution. in a current project, i realized that importNode is useless as it is, if you need IDs. regards Karl Scheibelhofer -- Karl Scheibelhofer, <mailto:Karl.Scheibelhofer@iaik.at> Institute for Applied Information Processing and Communications (IAIK) at Technical University of Graz, Austria, http://www.iaik.at Phone: (+43) (316) 873-5540
Received on Tuesday, 8 May 2001 08:07:47 UTC