I think it would be more important to see the XML he is trying to load.
As his code is written, it makes no sense:
First, this line:
will get *ALL* the <TD> elements into the collection referenced by x.
But then this line
gets all the <TD> elements *INSIDE* of one of the <TD>s.
Now, I grant you that is possible.
XML such as:
would allow that. But is that LIKELY?
I want to see the XML.