子ノードの一覧を返します。
function showChildNodes(node) { for (i = 0; i < node.childNodes.length; i++) { alert(node.childNodes[i].nodeName); } }