/book/chapter/title[text()="XPath"]/../preceding-sibling::*
/book/chapter/para[preceding-sibling::title='Stylesheet Basics']
book/chapter//para[1]
(book/chapter//para)[1]
© 2024 Digcode.com