Ok, here is an xpath "challenge" for someone (I need to go do some other things so if someone solves it for me in the meantime I shall be happy!)... lets say you have this html:
<a href="/p/james-patterson/along-came-spider.htm">Along Came a Spider</a>
<a href="/p/james-patterson/kiss-girls.htm">Kiss the Girls</a>
Now lets say that you are iterating through each book in that page, using the <a> tag for the title above as your "root". Then you can extract the following with xpath:
series name: ../strong/text()
series #: ???
For series number I thought I could do something like:
but that doesn't give me any results. Any other suggestions?