I'm no expert but I scanned through the code and it seems to ignore nodeValue if the node is a textbox.