I am trying to search for any exact word within the table, and either highlite the word as found or display the whole row in the results page. The XML code for the table is as follows :-
<?xml version="1.0" encoding="ISO-8859-1" ?>
<index>
<product>
<product_name>Volcano 9</product_name>
<type>Fan</type>
<manufacturer>Thermaltake</manufacturer>
<stock>48</stock>
</product>
<product>
<product_name>Volcano 7</product_name>
<type>Fan</type>
<manufacturer>Thermaltake</manufacturer>
<stock>35</stock>
</product>
<product>
<product_name>Volcano 5</product_name>
<type>Fan</type>
<manufacturer>Thermaltake</manufacturer>
<stock>53</stock>
</product>
<product>
<product_name></product_name>
<type></type>
<manufacturer></manufacturer>
<stock></stock>
</product>
<product>
<product_name>Arctic Blast</product_name>
<type>Fan</type>
<manufacturer>J.M.C.</manufacturer>
<stock>50</stock>
</product>
<product>
<product_name>Phoenix 7 Xeon</product_name>
<type>Fan</type>
<manufacturer>J.M.C.</manufacturer>
<stock>41</stock>
</product>
<product>
<product_name>Sky Jet 70</product_name>
<type>Fan</type>
<manufacturer>J.M.C.</manufacturer>
<stock>56</stock>
</product>
<product>
<product_name></product_name>
<type></type>
<manufacturer></manufacturer>
<stock></stock>
</product>
<product>
<product_name>18W Peltier</product_name>
<type>Peltier</type>
<manufacturer>Supercool</manufacturer>
<stock>13</stock>
</product>
<product>
<product_name>25W Peltier</product_name>
<type>Peltier</type>
<manufacturer>Supercool</manufacturer>
<stock>10</stock>
</product>
<product>
<product_name>20W Peltier</product_name>
<type>Peltier</type>
<manufacturer>T.E.Technology</manufacturer>
<stock>14</stock>
</product>
<product>
<product_name></product_name>
<type></type>
<manufacturer></manufacturer>
<stock></stock>
</product>
<product>
<product_name>Blower</product_name>
<type>Blower</type>
<manufacturer>Unknown</manufacturer>
<stock>5</stock>
</product>
<product>
<product_name>Water Pack</product_name>
<type>Water System</type>
<manufacturer>Swiftech</manufacturer>
<stock>3</stock>
</product>
</index>