posted 15 years ago
Hi,
I am newbie in XML working with XPath. I am using Xpath to parse a code that looks like this
I am interested in extracting the node td, (or alternatively the node that has a total of 4 text nodes). I tried using //tr//text(), but it returns all (8) text nodes instead of 4.
Is there any way to specify a node by the number of children it has?
Any help is appreciated.
Thanks