Options

"Xpath - extract text from unordered list (ul)"

currantcurrant Member Posts: 14 Contributor II
edited June 2019 in Help
Hi All,

I want to extract all list items (li) from an unordered list (ul) by xpath query.
The website is: http://ec.europa.eu/sanco_pesticides/public/index.cfm?event=substance.info&;id=53 ; I have to extract the content below the footnotes.
With the following xpath queries I always get only the first list item ("(R) = The residue definition differs for..."):
- //h:div[@class='col60']/h:ul/text()
or
- //h:div[@class='col60']/h:ul/descendant::*/text()

Does anyone has an idea how I can get the whole list?

Thanks a lot in advance!

Comments

Sign In or Register to comment.