Method LoadXML
LoadXML(TextReader)
Helper method to parse an XML file into a DOM tree, given a System.IO.TextReader.
Declaration
public static XmlDocument LoadXML(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | reader of the XML file to be parsed |
Returns
Type | Description |
---|---|
System.Xml.XmlDocument | an System.Xml.XmlDocument object |
LoadXML(Stream)
Helper method to parse an XML file into a DOM tree, given a System.IO.Stream.
Declaration
public static XmlDocument LoadXML(Stream input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | input | reader of the XML file to be parsed |
Returns
Type | Description |
---|---|
System.Xml.XmlDocument | an System.Xml.XmlDocument object |
LoadXML(XmlReader)
Helper method to parse an XML file into a DOM tree, given an System.Xml.XmlReader.
Declaration
public static XmlDocument LoadXML(XmlReader input)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | input | reader of the XML file to be parsed |
Returns
Type | Description |
---|---|
System.Xml.XmlDocument | an System.Xml.XmlDocument object |