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

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

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

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

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