I tried using selectnode, but is not working.

 Code:
$NodeList = $objXML.selectNodes("site/name")
For Each $Node In $NodeList
   ? $Node.text
Next


and

 Code:
$objNodeList = $objXML.selectNodes("site/name")
For $i = 0 To $objNodeList.length - 1
  ? $objNodeList.item($i).Text
Next


when file has two equal nodes, file is not read.

example:

 Code:
:Begin File1.xml
<site>
  <name>Google< /name>
  <link>www.google.com< /link>
< /site>
:End File1

:Begin File2.xml
<site>
  <name>Google< /name>
  <link>www.google.com< /link>
< /site>

<site>
  <name>Yahoo< /name>
  <link>www.yahoo.com< /link>
< /site>
:End File2


file1 displays "Google", file2 does not show anything
_________________________