I am using XDocument to create and load the xml but when i call an an element to string the element tags get added with it. So far i have been using
string xmlVer = _xml.Root.Element("XMLVersion").Value.ToString().Replace("<XMLVersion>", "").Replace("</XMLVersion", "");
works fine just looking for code optimization.
Is there a way to call the "inner" text instead?
Im not having child-node linking problems.
Thanks.