"Xpath - extract text from unordered list (ul)"
currant
New Altair Community Member
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!
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!
Tagged:
5
Comments
-
Did you ever manage to get it?0
-
I am still waiting for that.0