Name

XmlTextReader

Synopsis

This class is a text-based reader for XML documents derived from XmlReader. XmlTextReader checks for well-formedness and expands entities, but does not validate data according to a DTD or schema.

public class XmlTextReader : XmlReader : IXmlLineInfo {
// Public Constructors
   public method XmlTextReader(System.IO.Stream input);  
   public method XmlTextReader(System.IO.Stream input, 
        XmlNameTable nt);  
   public method XmlTextReader(System.IO.StreamxmlFragment, 
        XmlNodeType fragType, XmlParserContext context);  
   public method XmlTextReader(string url);  
   public method XmlTextReader(string url, 
        System.IO.Stream input);  
   public method XmlTextReader(string url, 
        System.IO.Stream input, XmlNameTable nt);  
   public method XmlTextReader(string url, 
        System.IO.TextReader input);  
   public method XmlTextReader(string url, 
        System.IO.TextReader input, XmlNameTable nt);  
   public method XmlTextReader(string url, XmlNameTable nt);  
   public method XmlTextReader(string xmlFragment, 
        XmlNodeType fragType, XmlParserContext context);  
   public method XmlTextReader(System.IO.TextReader input);  
   public method XmlTextReader(System.IO.TextReader input, 
        XmlNameTable nt);  
// Protected Constructors
   protected method XmlTextReader();  
   protected method XmlTextReader(XmlNameTable nt);  
// Public Instance Properties
   public override field int AttributeCount{get; }               // overrides XmlReader
   public override field string BaseURI{get; }                   // overrides XmlReader
   public override field int Depth{get; }                        // overrides XmlReader public ...

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.