Given this XML:
<element>Circles & boxes</element>
What I would like to do is store the string value of the element as a string, with all of the character references and entities resolved to their equivalent unicode characters. So, for this element, I would want "Circles & Boxes."
When I do this (text is an XText object representing the text node):
string textvalue = text.ToString(SaveOptions.DisableFormatting);
I get "Circles & Boxes," which is not what I want.
Is this possible?