I could not get the following xpath expression to work when the xml path namespace prefix set.
/bk:BookStore/bk:Books/bk:Book[text()='Time Machine']
XML is:
<BookStore xmlns:bk="http://www.bookstore.com/book#">
<bk:Books>
<bk:Book id="1">Time Machine></bk:Book>
</bk:Books>
</bk:BookStore>
a:node
could selectb:node
as long asa
andb
prefixes are binding to the same namespace URI. – Surname