I have this html file

```
<html>

<table width="111" >

  <tr>  <td> A </td>
        <td> B </td>
  </tr>
  <tr>  <td> C </td>
        <td> D </td>
  </tr>

</table> 

<table width="222" >

  <tr>  <td> E </td>
        <td> F </td>
  </tr>
  <tr>  <td> G </td>
        <td> H </td>
  </tr>

</table> 
</html>

```

And in `R` I am doing

```
library(XML)
tree = htmlTreeParse(file, useInternal=TRUE, asTree=TRUE)
table = getNodeSet(tree, "//table[@width='222']")[[1]]
xpathSApply(table, "//td", xmlValue)

```

And I'm getting

```
[1] " A " " B " " C " " D " " E " " F " " G " " H "

```

whereas I was hopping to get

```
[1]  " E " " F " " G " " H "

```

I can't understand what's going on