rem: Dump("<" + node.GetTagName()) 
add: dump("<" + node.getTagName()) 
context: function html(node){    var type = node.GetNodeType()    if (type == Node.ELEMENT) {        // open tag        Dump("<" + node.GetTagName())        // dump the attributes if any        attributes = node.GetAttributes()        if (null != attributes) {            var countAttrs = attributes.GetLength()            var index = 0            while(index < countAttrs) {                att = attributes.Item(index)                if (null != att) {                    Dump(" " + att.ToString())                }                index++            }        }        // close tag        Dump(">")        // recursively dump the children        if (node.HasChildNodes()) {            // get the children            var children = node.GetChildNodes()            var length = children.GetLength()            var child = children.GetNextNode()            var count = 0;            while(count < length) {                html(child)                child = children.GetNextNode()                count++            }        }    }    // if it's a piece of text just dump the text    else if (type == Node.TEXT) {        Dump(node.data)    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6b20823e473b88ab3c01dc39565c0273856be40a/DumpHTML.js/buggy/dom/tests/js/DumpHTML.js