vick Posted July 28, 2017 Author Posted July 28, 2017 i tried that way but not worked. as i can see data with xpath checker but with same id not worked to convert in array.
vick Posted July 28, 2017 Author Posted July 28, 2017 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>
vick Posted July 31, 2017 Author Posted July 31, 2017 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>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>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>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>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 >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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now