Jump to content

how to use xpath in IE


Recommended Posts

this is html code shows .which looks OK but not worked somehow.
 
 
<table id="_ctl0__ctl39__ctl0__ctl1_wgWorkItems__baseGrid" rules="cols" copytable="true" copy="true" width="100%" height="100%" cellspacing="0" bordercolor="#AAAAAA" border="1" bgcolor="WhiteSmoke">
 
<tbody>
 
<tr bgcolor="Black" align="Left">
 
<tr valign="Top" bgcolor="DarkBlue">
 
<tr valign="Top" bgcolor="#DFE4E4">
 
<tr valign="Top" bgcolor="#F7F7F3">
 
<tr valign="Top" bgcolor="#DFE4E4">
 
<td valign="Top">
 
<td valign="Top">
 
<td valign="Top">
<font color="#555555">ON - Site ID 9804 Not Connecting>24 hrs</font>
</td>
 
<td valign="Top">
 
<td valign="Top">
 
<td valign="Top">
 
<td valign="Top">
 
<td valign="Top">
</tr>
 
<tr valign="Top" bgcolor="#F7F7F3">
</tbody>
</table>
Link to comment
Share on other sites

when i copy source i got like that:

<tr id="_ctl0__ctl39__ctl0__ctl1_wgWorkItems_trBaseGrid">
                                            <td width="100%">
                                            <xml ID="WorkItems">
<list count="5"><fmt><v id="servercol" n="0" type="unknown" /><v id="workitem_number" n="1" type="int" /><v id="workitem_title" n="2" type="string" /><v id="assigned_to_worker_name" n="3" type="string" /><v id="workitem_priority_lookup_ordinal" n="4" type="int" /><v id="workitem_priority_lookup_value" n="5" type="string" /><v id="workitem_status_lookup_ordinal" n="6" type="int" /><v id="workitem_status_lookup_value" n="7" type="string" /><v id="workitem_category_tree_value" n="8" type="string" /><v id="workitem_modified_on" n="9" type="datetime" /></fmt><i n="0"><v /><v>442477</v><v>ON - Site#5020 Not connecting&gt;24 Hrs</v><v>Arlene Dela-Cruz</v><v>3</v><v>Medium</v><v>2</v><v>In Process</v><v>Client Products\SFTP Errors</v><v>3/6/2017 2:14:04 PM</v></i><i n="1"><v /><v>466810</v><v>ON - Site ID 4670 Not Connecting&gt;24hrs</v><v>Arlene Dela-Cruz</v><v>3</v><v>Medium</v><v>2</v><v>In Process</v><v>Client Products\SFTP Errors\24 Hour Notification</v><v>7/19/2017 12:33:18 PM</v></i><i n="2"><v /><v>470954</v><v>ON - Site ID 6067 Not Connecting&gt;24 hrs</v><v>Arlene Dela-Cruz</v><v>3</v><v>Medium</v><v>2</v><v>In Process</v><v>Client Products\SFTP Errors\24 Hour Notification</v><v>7/14/2017 11:41:23 AM</v></i><i n="3"><v /><v>473135</v><v>ON - Site ID 9804 Not Connecting&gt;24 hrs</v><v>Arlene Dela-Cruz</v><v>3</v><v>Medium</v><v>2</v><v>In Process</v><v>Client Products\SFTP Errors\24 Hour Notification</v><v>7/27/2017 7:37:13 AM</v></i><i n="4"><v /><v>473545</v><v>ON-Site ID 9555 Not Connecting &gt;24 Hour</v><v>Arlene Dela-Cruz</v><v>3</v><v>Medium</v><v>2</v><v>In Process</v><v>Client Products\SFTP Errors\24 Hour Notification</v><v>7/27/2017 7:34:33 AM</v></i></list>

                                            </xml>
now how to extract highlighted contents for example?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...