XPath how to search for a string iphone
I'm using hpple to parse content from a html page. I want to find the string 'Course Content' and select the paragraph after it. How is this possible?
At present i have this code which return the paragraph at index 0 however its not good enough开发者_运维知识库.
Thanks for any help ..
/html/body
/div[@id='wrap']
/div[@id='inner']
/div[@id='content']
/div[@id='main-content']
/div[@id='content_div_16973']
/h3[.='Course Content']/following-sibling::p[1]
精彩评论