常見(jiàn)例句XmlNodeList nodeList = document. SelectNodes( "聯(lián)系人列表 ");The nodes in the NodeList can be accessed through their index number (starting from 0). 節(jié)點(diǎn)列表中的節(jié)點(diǎn)可以同過(guò)其對(duì)應(yīng)的索引數(shù)字進(jìn)行訪問(wèn)(從0開(kāi)始計(jì)數(shù))。The getElementsByTagName () method returns a NodeList of all a elements with a specified name. 方法的作用是:通過(guò)指定的名稱返廻所有元素的節(jié)點(diǎn)列表。If the selected node has no children, this property returns a NodeList containing no nodes. 如果以選擇的節(jié)點(diǎn)不包含子節(jié)點(diǎn),那麼這個(gè)屬性返廻部包含任何節(jié)點(diǎn)的節(jié)點(diǎn)列表。The getElementsByTagName() method returns a NodeList of all a elements with a specified name. 方法返廻了一個(gè)與指定的名稱相對(duì)應(yīng)的所有元素的節(jié)點(diǎn)列表。The getElementsByTagNameNS() method returns a NodeList of all elements with a specified name and namespace. 方法返廻了一組包含指定名稱和命名空間的元素節(jié)點(diǎn)列表。 返回 nodelist