public static XmlDocument ConvertToXmlDocument(XDocument input)
{
var xmlDocumentObj = new XmlDocument();
using (var xmlReader = input.CreateReader())
{
xmlDocumentObj.Load(xmlReader);
return xmlDocumentObj;
}
}
{
var xmlDocumentObj = new XmlDocument();
using (var xmlReader = input.CreateReader())
{
xmlDocumentObj.Load(xmlReader);
return xmlDocumentObj;
}
}
Comments
Post a Comment