I want to export my Asics running plan to iCal and since Asics do not offer this service, I decided to build a little scraper for my own personal use. What I want to do is t
In XPATH, // means all children and grand children below the current node. So you need to come up with a more restrictive XPATH expression. If you provide the real HTML, and what you're looking for exactly, we can help you dig further.
About the error you have:
.div[@class='date'] is invalid because . is sticked to div. You could use div[@class='date'], or ./div[@class='date'] which I believe are equivalent. This is because . is an XPATH axe, which is an alias for self and means "the current node".