I have this XML:
<?xml version="1.0" encoding="UTF-8"?>
111
2009-03-02 - 2009-03-08
2009-03-08T00:00:00
113
2009-02-16 - 2009-02-22
2009-02-22T00:00:00
.
.
.
I want to parse out the Week element with the weekID of 111.
I’m using Hpricot and this but I can’t find it. What’s the xpath?
doc.search(’//Week[weekID=111]’)