How can I do with XPath:
//bookstore/book/title or //bookstore/city/zipcode/title
Just //tit
//tit
All title nodes with zipcode or book node as parent:
title
zipcode
book
Version 1:
//title[parent::zipcode|parent::book]
Version 2:
//bookstore/book/title|//bookstore/city/zipcode/title