🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

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

User: "currant"
New Altair Community Member
Updated by Jocelyn
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!

Find more posts tagged with

Comments

Sort by:
1 - 2 of 21