The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Xpath - extract text from unordered list (ul)"
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