I'm trying to be patient and learn the reasoning behind some DOM design decisions. To that end, let me ask: Why does setNodeValue on an Element do nothing? Given that XML is all text, shouldn't every element be able to contain text as its value? What other kind of value would it contain, anyway? Why do we have to add a text node? There is question after question on various DOM-implementation discussion forums from people who are baffled by the fact that setNodeValue does nothing, so I know this is a source of bewilderment for many. Regards, GavinReceived on Wednesday, 27 June 2001 17:34:39 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:53 GMT