When I do
XPathSelectElement("/root/title").ToString()
I get for example <title>this is an <strong>example</strong></title>
. But I don't want to get <title>
around the text.
When I do
XPathSelectElement("/root/title").Value
then it gets only the text without <strong></strong>
How can I solve this?