View Single Post
Old 03-03-2013, 08:27 PM   #51
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,228
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@Penny_Dreadful - sorry for the delay. The reason it didn't work for you is because your xpath was not actually selecting the text within the node you were just pointing it at a parent node.

Try the following to get an Amazon.com wishlist page to work:
Code:
rows: //div[@id="item-page-wrapper"]//div[@class="lineItemGroup"]
title: div/span[@class="small productTitle"]/strong/a/text()
authors: div[@class="lineItemPart"]/span[@class="authorPart"]/text()
kiwidude is offline   Reply With Quote