In XPath how to select the element content
A bit too late but...
data(Element)
...should also be fine.
Use the value-of
element:
<xsl:value-of select="/Some/Path/To/Element"/>
If you can only specify an XPath then use the text
function like this:
/Some/Path/To/Element/text()