Exemple #1
0
        public static XmlEquivalent To(params string[] xml)
        {
            if (xml == null)
            {
                throw new ArgumentNullException("xml");
            }

            return(XmlEquivalent.To(string.Concat(xml)));
        }
Exemple #2
0
        public static XmlEquivalent To(IXPathNavigable source)
        {
            if (source == null)
            {
                throw new ArgumentNullException("source");
            }

            return(XmlEquivalent.To(GetElement(source)));
        }
Exemple #3
0
        public static XmlEquivalent To(string xml)
        {
            if (xml == null)
            {
                throw new ArgumentNullException("xml");
            }

            return(XmlEquivalent.To(ParseXml(xml)));
        }
Exemple #4
0
        public static XmlEquivalent To(XmlDocument document)
        {
            if (document == null)
            {
                throw new ArgumentNullException("document");
            }

            return(XmlEquivalent.To(document.DocumentElement));
        }