Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# XmlElement from string

private static XmlElement GetElement(string xml)
{
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xml);
    return doc.DocumentElement;
}
 
PREVIOUS NEXT
Tagged: #XmlElement #string
ADD COMMENT
Topic
Name
8+6 =