August 2003
Intermediate to advanced
928 pages
32h 1m
English
XmlParserContext
This class contains document context
information normally provided by both
the XML declaration and DOCTYPE elements for
parsing XML fragments. XmlTextReader and
XmlValidatingReader use the
XmlParserContext for the base URI, internal
subset, public and system identifiers, etc.
public class XmlParserContext { // Public Constructors public XmlParserContext(XmlNameTablent, XmlNamespaceManagernsMgr, stringdocTypeName, stringpubId, stringsysId, stringinternalSubset, stringbaseURI, stringxmlLang, XmlSpacexmlSpace); public XmlParserContext(XmlNameTablent, XmlNamespaceManagernsMgr, stringdocTypeName, stringpubId, stringsysId, stringinternalSubset, stringbaseURI, stringxmlLang, XmlSpacexmlSpace, System.Text.Encodingenc); public XmlParserContext(XmlNameTablent, XmlNamespaceManagernsMgr, stringxmlLang, XmlSpacexmlSpace); public XmlParserContext(XmlNameTablent, XmlNamespaceManagernsMgr, stringxmlLang, XmlSpacexmlSpace, System.Text.Encodingenc); // Public Instance Properties public string BaseURI{set; get; } public string DocTypeName{set; get; } public Encoding Encoding{set; get; } public string InternalSubset{set; get; } public XmlNamespaceManager NamespaceManager{set; get; } public XmlNameTable NameTable{set; get; } public string PublicId{set; get; } public string SystemId{set; get; } public string XmlLang{set; get; } public XmlSpace XmlSpace{set; get; } }
XmlTextReader.XmlTextReader( ),
XmlValidatingReader.XmlValidatingReader( ...