F
Foxpointe
I'm new to XPath so am sure my understanding is the issue here and could
use some help....
I've got some fairly messy (X)HTML which has TD elements sprinkled in
solely for the purposes of formatting (i.e. <td height="2"></td>) and
was thinking that I could use XPath to select only the TD nodes which
actually display a value. I've verified the basic path to get all
elements in the table (./html/body/table/tr), but when tried to extend
this with various permutations such as
../html/body/table/tr/td[string-length(text()) > 0] without success.
Thanks in advance,
Phil
use some help....
I've got some fairly messy (X)HTML which has TD elements sprinkled in
solely for the purposes of formatting (i.e. <td height="2"></td>) and
was thinking that I could use XPath to select only the TD nodes which
actually display a value. I've verified the basic path to get all
elements in the table (./html/body/table/tr), but when tried to extend
this with various permutations such as
../html/body/table/tr/td[string-length(text()) > 0] without success.
Thanks in advance,
Phil