Calling getChildNodes on a DOM Attr node does return the children of the Attr, which are the text and EntityReference nodes that make up the Attr's content. Calling getChildNodes on an element does *NOT* return the Attr nodes or their descendents. Attributes are not children in the DOM, and do not have parents (though they may have an Owner Element). ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filkReceived on Wednesday, 2 July 2003 15:50:05 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:49 GMT