FoodCandy!

SgmlReader Class Reference

SgmlReader is an XmlReader API over any SGML document (including built in support for HTML). More...

Inheritance diagram for SgmlReader:

HtmlObjectExtractor HtmlReader List of all members.

Public Member Functions

void SetBaseUri (string uri)
 The base Uri is used to resolve relative Uri's like the SystemLiteral and Href properties. This is a method because BaseURI is a read-only property on the base XmlReader class.
string GetAttributeName (int i)
override string GetAttribute (string name)
override string GetAttribute (string name, string namespaceURI)
override string GetAttribute (int i)
override bool MoveToAttribute (string name)
override bool MoveToAttribute (string name, string ns)
override void MoveToAttribute (int i)
override bool MoveToFirstAttribute ()
override bool MoveToNextAttribute ()
override bool MoveToElement ()
Encoding GetEncoding ()
override bool Read ()
string ScanLiteral (StringBuilder sb, char quote)
override void Close ()
override string ReadString ()
override string ReadInnerXml ()
override string ReadOuterXml ()
override string LookupNamespace (string prefix)
override void ResolveEntity ()
override bool ReadAttributeValue ()

Properties

SgmlDtd Dtd
 Specify the SgmlDtd object directly. This allows you to cache the Dtd and share it across multipl SgmlReaders. To load a DTD from a URL use the SystemLiteral property.
string DocType
 The name of root element specified in the DOCTYPE tag.
string PublicIdentifier
 The PUBLIC identifier in the DOCTYPE tag.
string SystemLiteral
 The SYSTEM literal in the DOCTYPE tag identifying the location of the DTD.
string InternalSubset
 The DTD internal subset in the DOCTYPE tag.
TextReader InputStream
 The input stream containing SGML data to parse. You must specify this property or the Href property before calling Read().
string WebProxy
 Sometimes you need to specify a proxy server in order to load data via HTTP from outside the firewall. For example: "itgproxy:80".
string Href
 Specify the location of the input SGML document as a URL.
bool StripDocType
 Whether to strip out the DOCTYPE tag from the output (default true).
CaseFolding CaseFolding
TextWriter ErrorLog
 DTD validation errors are written to this stream.
string ErrorLogFile
 DTD validation errors are written to this log file.
override XmlNodeType NodeType
override string Name
override string LocalName
override string NamespaceURI
override string Prefix
override bool HasValue
override string Value
override int Depth
override string BaseURI
override bool IsEmptyElement
override bool IsDefault
override char QuoteChar
override XmlSpace XmlSpace
override string XmlLang
WhitespaceHandling WhitespaceHandling
override int AttributeCount
override string this [int i]
override bool EOF
override ReadState ReadState
override XmlNameTable NameTable

Detailed Description

SgmlReader is an XmlReader API over any SGML document (including built in support for HTML).


The documentation for this class was generated from the following file:
  • SgmlReader.cs
© FoodCandy, 2006-2007, All Rights Reserved | FoodCandy | Sun Oct 7 10:48:52 2007 | Doxygen 1.4.6-NO