In XPath how to select the element content

Posted by Mike Q on Stack Overflow See other posts from Stack Overflow or by Mike Q
Published on 2010-03-18T13:44:51Z Indexed on 2010/03/18 13:51 UTC
Read the original article Hit count: 374

Filed under:
|
|

Hi all,

Is there a way of writing an XPath expression to select the content of the element.

e.g.

<Element>xxx</Element>

Assuming I can write XPath (/Element) to get Element how do I tweak the XPath to get xxxx returned rather than the Element wrapper.

© Stack Overflow or respective owner

Related posts about xpath

Related posts about element