Subject:How to remove a row from table based on content (HTML) Author:AK Tiwari Date:20 Dec 2006 04:45 AM
Hi,
I have an html doc like :
<table>
<tr> <td> col1 </td> </tr>
<tr> <td> col2 </td> </tr>
<tr> <td> col3 </td> </tr>
</table>
I want to delete a row that contains some specific data i.e. if col1, col2, col3 are data like AAA, BBB, CCC and I want to delete the row that contains text BB.
I am able to get to the element using xslt, but am finding it difficult to get an html that doesnt contain the whole row.
Subject:How to remove a row from table based on content (HTML) Author:(Deleted User) Date:31 Dec 2006 09:57 AM
Hi AK,
you need to create a stylesheet that copies all the data, excluding the <tr> node that matches the column you need to remove; you can start with something like this