Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

<span class tags

$
0
0
I have searched but can't find anything that works for me - how do I retrieve the text nodes of <span class tags? Here is a canned search to the results I want to capture:

http://hudoc.echr.coe.int/sites/eng/Pages/search.aspx#

and I want to retrieve each of the text items which are nicely named :

<span class="document-link headline" title="Show Document">CASE OF DE SOUZA RIBEIRO v. FRANCE</span>
<span class="column01">22689/07</span>
<span class="column03">Judgment (Merits and Just Satisfaction)</span>
<span class="column04">Court (Grand Chamber)</span>
<span class="column04">13/12/2012</span>
<span class="fulltext">Preliminary objection joined to merits and dismissed (Article 34 - Victim) Violation of Article 13+8 - Right to an effective remedy (Article 13 - Effective remedy) (Article 8-2 - Interference Prescribed by law Article 8-1 - Respect for family life Respect for private life Article 8 - Right to respect for private and family life Expulsion) (Brazil) Pecuniary damage - claim dismissed Non-pecuniary damage - award</span>

My modified simple script from help seems like it should work for one <span class tag but it doesn't::


#include <IE.au3>
$oIE = _IECreate ('http://hudoc.echr.coe.int/sites/eng/Pages/search.aspx#')
Sleep(3000)
$id = _IEGetObjByName ($oIE, "column01")
$oText1 = _IEPropertyGet($id, "innertext")
MsgBox(0, "Value", $oText1)
_IEQuit ($oIE)


Here is the sites structure if it helps:

Attached Thumbnails

  • ECHR_structure.png

Viewing all articles
Browse latest Browse all 12506

Trending Articles