Dear all! I propose to have the creation methods "createElement", "createElementNS", "createAttribute", and "createAttributeNS" also at element nodes (and not only at document nodes). The advantage is that depending on the element for which a sub-element or attribute is created different classes may be instantiated. Implementations that instantiate always the same classes may delegate the creation to their owner document. I use such specialized element and attribute classes to include processing logic in the DOM. A consequence would be that such specialized nodes may not be moved freely in the DOM. A HIERARCHY_REQUEST_ERROR must be raised if they are to be added to an improper element. Thanks for your attention, --StefanReceived on Monday, 25 February 2002 12:52:44 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:55 GMT