Exemple #1
0
        public static string ToXml(XmlLiteElement objXmlLiteElement)
        {
            if (objXmlLiteElement == null)
            {
                throw new ArgumentNullException("objXmlLiteElement", "A valid non-null XmlLiteElement is required.");
            }

            XmlLiteDocument objXmlLiteDocument = new XmlLiteDocument(objXmlLiteElement);

            return(objXmlLiteDocument.ExportToXml());
        }