[XML-SIG] pDomlette bug/non standard method?

Alan Kernnedy pyxml@xhaus.com
Mon, 24 Sep 2001 08:47:37 +0100


Folks,

In switching to pDomlette from 4DOM, I was surprised by one aspect of text nodes.

According to the DOM spec, I should be able to acess the character data in a text
node through the attribute "nodeValue", which is what my code used successfully with
4DOM, e.g

myData = myTextNode.nodeValue

Now, having examined the code, it appears that I have to use the attribute "data",
i.e. I access the contents of a text node using

myData = myTextNode.data

Am I missing something here?

Regards,

Alan.