JSF XPath evalSS demo
How to get this working
To get this working on your own page, look below for the example snippet
used to get the demo on this page working.
And the text is: <h:outputText value="#{xpath:evalSS('//a/text()', '<test><a>A</a><b>B</b></test>')}"/>
Actual demo
And the text is: A