ScooterNorm
New Member
- Joined
- Feb 25, 2024
- Messages
- 22
- Office Version
- 2016
- Platform
- Windows
I load a web page using ServerXMLHTL60 which has the following HTML code.
...
<tbody id="docResultsTbody" class="tablesorterTbody">
<tr class="doc_row dataRowTR">
<td class="textCenter">
<input type="checkbox" class="resSelects" id="tmDoc1"></input>
</td>
<td class="">Feb. 26, 2024</td>
<td class="">
<a href="/documentviewer?caseId=sn97775647&docId=ABN20240226074801&linkId=1"
target="ABN20240226074801">ABANDONMENT-Notice</a>
</td>
<td class=""></td>
<td class="end">PDF</td>
<td class="hide">20240226074801</td>
</tr>
...
I do a `Set elems1 = htmlDoc.getElementsByClassName("doc_row dataRowTR")
and the 1st entry returns the following innerHTML text:
<TD class=textCenter><INPUT id=tmDoc1 class=resSelects type=checkbox></INPUT> </TD>
<TD>Feb. 26, 2024</TD>
<TD><A href="about:/documentviewer?caseId=sn97775647&docId=ABN20240226074801&linkId=1" target=ABN20240226074801>ABANDONMENT-Notice</A> </TD>
<TD></TD>
<TD class=end>PDF</TD>
<TD class=hide>20240226074801</TD>
What call do I use next to get the text from the "<a href=" tag?
Then I need to format that text to call the page which looks like this:
Thanks for all your help,
...
<tbody id="docResultsTbody" class="tablesorterTbody">
<tr class="doc_row dataRowTR">
<td class="textCenter">
<input type="checkbox" class="resSelects" id="tmDoc1"></input>
</td>
<td class="">Feb. 26, 2024</td>
<td class="">
<a href="/documentviewer?caseId=sn97775647&docId=ABN20240226074801&linkId=1"
target="ABN20240226074801">ABANDONMENT-Notice</a>
</td>
<td class=""></td>
<td class="end">PDF</td>
<td class="hide">20240226074801</td>
</tr>
...
I do a `Set elems1 = htmlDoc.getElementsByClassName("doc_row dataRowTR")
and the 1st entry returns the following innerHTML text:
<TD class=textCenter><INPUT id=tmDoc1 class=resSelects type=checkbox></INPUT> </TD>
<TD>Feb. 26, 2024</TD>
<TD><A href="about:/documentviewer?caseId=sn97775647&docId=ABN20240226074801&linkId=1" target=ABN20240226074801>ABANDONMENT-Notice</A> </TD>
<TD></TD>
<TD class=end>PDF</TD>
<TD class=hide>20240226074801</TD>
What call do I use next to get the text from the "<a href=" tag?
Then I need to format that text to call the page which looks like this:
Rich (BB code):
https://tsdr.uspto.gov/documentviewer?caseId=sn97775647&docId=ABN20240226074801&linkId=1#docIndex=0&page=1
Thanks for all your help,