I have an XElement
object which I would like to get its value as string.
However, the ToString()
method returns the xml tree with /r/n and spaces which I woild like to ignore.
Is there an attribute of XElement
which retrieves the XML
tree as string without unnecessary adding?