A
Achim Domma
Hi,
I have some HTML code, converted to XML and want to get the content of
special table cells. The XML looks like this:
....
<tr>
<td width="200">
<font class="content">Project ID</font>
</td>
<td width="200">
<font class="content">12345</font>
</td>
</tr>
....
I want to get '12345' and tried it with an XPath expression like this:
'//font[starts-with(text(),"Project")]/parent/parent/td[2]/font/text()
It does not work, but I don't understand why!? Can anybody help?
regards,
Achim
I have some HTML code, converted to XML and want to get the content of
special table cells. The XML looks like this:
....
<tr>
<td width="200">
<font class="content">Project ID</font>
</td>
<td width="200">
<font class="content">12345</font>
</td>
</tr>
....
I want to get '12345' and tried it with an XPath expression like this:
'//font[starts-with(text(),"Project")]/parent/parent/td[2]/font/text()
It does not work, but I don't understand why!? Can anybody help?
regards,
Achim