title: xpath normalize-space with contains
body: <p>I have an xpath string <code>//*[normalize-space() = "some sub text"]/text()/..</code> which works fine if the text I am finding is in a node which does not have multiple text sub nodes, but if it does then it won't work, so I am trying to combine it with <code>contains()</code> as follows: <code>//*[contains(normalize-space(), "some sub text")]/text()/..</code> which does work, but it always returns the <code>body</code> and <code>html</code> tags as well as the <code>p</code> tag which contains the text. How can I change it so it only returns the <code>p</code> tag?</p>