for RuBoard |
This section provides a quick interface reference to the key objects described in this chapter. Space constraints prevent us from documenting every object in the .NET framework in this book; for the sake of brevity and conciseness, we include only the most important objects here. For more information on the other objects in the .NET framework, consult the .NET Framework Reference online help file.
Member of System.Xml.Schema . Not inheritable.
A ValidationEventArgs object is passed by the ValidationEventHandler delegate used by the XmlValidatingReader object.
Properties | ||
---|---|---|
Exception | Message | Severity |
Methods | ||
Equals | GetHashCode | MemberwiseClone |
Finalize | GetType | ToString |
Member of System.Xml .
The XmlDocument object represents the top-level object in the XML DOM hierarchy. You can use it to read and write any element of an XML document, as well as to retrieve an XML document through the local file system or over HTTP.
Properties | ||
---|---|---|
Attributes | InnerXml | NodeType |
BaseURI | IsReadOnly | OuterXml |
ChildNodes | Item | OwnerDocument |
DocumentElement | LastChild | ParentNode |
DocumentType | LocalName | Prefix |
FirstChild | Name | PreserveWhiteSpace |
HasChildNodes | NamespaceURI | PreviousSibling |
Implementation | NameTable | Value |
InnerText | NextSibling | XmlResolver |
Methods | ||
AppendChild | CreateTextNode | LoadXml |
Clone | CreateWhitespace | MemberwiseClone |
CloneNode | CreateXmlDeclaration | Normalize |
CreateAttribute | Equals | PrependChild |
CreateCDataSection | Finalize | ReadNode |
CreateComment | GetElementById | RemoveAll |
CreateDefaultAttribute | GetElementsByTagName | RemoveChild |
CreateDocumentFragment | GetEnumerator | ReplaceChild |
CreateDocumentType | GetHashCode | Save |
CreateElement | GetNamespaceOfPrefix | SelectNodes |
CreateEntityReference | GetPrefixOfNamespace | SelectSingleNode |
CreateNavigator | GetType ImportNode | Supports ToString |
CreateNode | InsertAfter | WriteContentTo |
CreateProcessingInstruction | InsertBefore | WriteTo |
CreateSignificantWhitespace | Load |
Member of System.Xml .
The XmlNodeList object is used to handle a collection of nodes. It is used in the XML DOM parser model.
Properties | ||
---|---|---|
Count | ||
Methods | ||
Equals | GetNamedItem | RemoveNamedItem |
Finalize | GetType | SetNamedItem |
GetEnumerator | Item | ToString |
GetHashCode | MemberwiseClone |
Member of System.Xml .
Properties | ||
---|---|---|
AttributeCount | IsDefault | NodeType |
BaseURI | IsEmptyElement | Prefix |
CanResolveEntity | Item | QuoteChar |
Depth | LocalName | ReadState |
EOF | Name | Value |
HasAttributes | NamespaceURI | XmlLang |
HasValue | NameTable | XmlSpace |
Methods | ||
Close | MoveToAttribute | ReadInnerXml |
Equals | MoveToContent | ReadOuterXml |
Finalize | MoveToElement | ReadStartElement |
GetAttribute | MoveToFirstAttribute | ReadString |
GetHashCode | MoveToNextAttribute | ResolveEntity |
GetType | Read | Skip |
IsStartElement | ReadAttributeValue | ToString |
LookupNamespace | ReadElementString | |
MemberwiseClone | ReadEndElement |
Member of System.Xml .
The XmlNode object represents a single node in the hierarchy of an XML document. It can contain a number of subordinate objects that represent attributes, other nodes, and so forth.
Properties | ||
---|---|---|
Attributes | IsReadOnly | NodeType |
BaseURI | Item | OuterXml |
ChildNodes | LastChild | OwnerDocument |
FirstChild | LocalName | ParentNode |
HasChildNodes | Name | Prefix |
InnerText | NamespaceURI | PreviousSibling |
InnerXml | NextSibling | Value |
Methods | ||
AppendChild | GetPrefixOfNamespace | ReplaceChild |
Clone | GetType | SelectNodes |
CloneNode | InsertAfter | SelectSingleNode |
CreateNavigator | InsertBefore | Supports |
Equals | MemberwiseClone | ToString |
Finalize | Normalize | WriteContentTo |
GetEnumerator | PrependChild | WriteTo |
GetHashCode | RemoveAll | |
GetNamespaceOfPrefix | RemoveChild |
Member of System.Xml .
The XmlNodeList object is a collection that enables you to iterate through a set of child nodes. It is used in the XML DOM parser model.
Properties | ||
---|---|---|
Count | ItemOf | |
Methods | ||
Equals | GetHashCode | MemberwiseClone |
Finalize | GetType | ToString |
GetEnumerator | Item |
Abstract class. Member of System.Xml .
Properties | ||
---|---|---|
AttributeCount | IsDefault | NodeType |
BaseURI | IsEmptyElement | Prefix |
CanResolveEntity | Item | QuoteChar |
Depth | LocalName | ReadState |
EOF | Name | Value |
HasAttributes | NamespaceURI | XmlLang |
HasValue | NameTable | XmlSpace |
Methods | ||
Close | LookupNamespace | ReadElementString |
Equals | MemberwiseClone | ReadEndElement |
Finalize | MoveToAttribute | ReadInnerXml |
GetAttribute | MoveToContent | ReadOuterXml |
GetHashCode | MoveToElement | ReadStartElement |
GetType | MoveToFirstAttribute | ReadString |
IsName | MoveToNextAttribute | ResolveEntity |
IsNameToken | Read | Skip |
IsStartElement | ReadAttributeValue | ToString |
Member of System.Xml .
The XmlNodeReader object enables you to navigate an XML document using a scrolling cursor model. It inherits from System.Xml.XmlReader , an abstract class.
Properties | ||
---|---|---|
AttributeCount | IsDefault | NodeType |
BaseURI | IsEmptyElement | Prefix |
CanResolveEntity | Item | QuoteChar |
Depth | LocalName | ReadState |
EOF | Name | Value |
HasAttributes | NamespaceURI | XmlLang |
HasValue | NameTable | XmlSpace |
Methods | ||
Close | MoveToAttribute | ReadInnerXml |
Equals | MoveToContent | ReadOuterXml |
Finalize | MoveToElement | ReadStartElement |
GetAttribute | MoveToFirstAttribute | ReadString |
GetHashCode | MoveToNextAttribute | ResolveEntity |
GetType | Read | Skip |
IsStartElement | ReadAttributeValue | ToString |
LookupNamespace | ReadElementString | |
MemberwiseClone | ReadEndElement |
Member of System.Xml . Inherits from System.Xml.XmlReader .
The XmlTextReader object provides read-only, forward-only access to an XML document.
Properties | ||
---|---|---|
AttributeCount | Item | Prefix |
BaseURI | LineNumber | QuoteChar |
CanResolveEntity | LinePosition | ReadState |
Depth | LocalName | Value |
Encoding | Name | WhitespaceHandling |
EOF | Namespaces | XmlLang |
HasAttributes | NamespaceURI | XmlResolver |
HasValue | NameTable | XmlSpace |
IsDefault | NodeType | |
IsEmptyElement | Normalization | |
Methods | ||
Close | MoveToAttribute | ReadEndElement |
Equals | MoveToContent | ReadInnerXml |
Finalize | MoveToElement | ReadOuterXml |
GetAttribute | MoveToFirstAttribute | ReadStartElement |
GetHashCode | MoveToNextAttribute | ReadString |
GetRemainder | Read | ResetState |
GetType | ReadBase64 | ResolveEntity |
IsStartElement | ReadBinHex | Skip |
LookupNamespace | ReadChars | ToString |
MemberwiseClone | ReadElementString |
Member of System.Xml . Inherits from System.Xml.XmlWriter .
The XmlTextWriter object enables you to write XML to a text stream (typically a text file).
The first constructor takes an instance of the TextWriter class or any object that inherits from it (including another XmlTextWriter object). The second form takes an instance of a System.IO.Stream object and an encoding value (one of the members of System.Text.Encoding ). The third form takes a string that represents a filename and an encoding value.
Properties | ||
---|---|---|
BaseStream | IndentChar | WriteState |
Formatting | Namespaces | XmlLang |
Indentation | QuoteChar | XmlSpace |
Methods | ||
Close | WriteBinHex | WriteName |
Equals | WriteCData | WriteNmToken |
Finalize | WriteCharEntity | WriteNode |
Flush | WriteChars | WriteProcessingInstruction |
GetHashCode | WriteComment | WriteQualifiedName |
GetType | WriteDocType | WriteRaw |
LookupPrefix | WriteElementString | WriteStartAttribute |
MemberwiseClone | WriteEndAttribute | WriteStartDocument |
ToString | WriteEndDocument | WriteStartElement |
WriteAttributes | WriteEndElement | WriteString |
WriteAttributeString | WriteEntityRef | WriteSurrogateCharEntity |
WriteBase64 | WriteFullEndElement | WriteWhitespace |
Member of System.Xml . Inherits from System.Xml.XmlReader .
The XmlValidatingReader object provides support for reading an XML file using validation. The object supports validation with the DTD, XDR, or W3C XML schema formats.
Properties | ||
---|---|---|
AttributeCount | IsEmptyElement | Reader |
BaseURI | Item | ReadState |
CanResolveEntity | LocalName | Schemas |
Depth | Name | SchemaType |
Encoding | Namespaces | ValidationType |
EntityHandling | NamespaceURI | Value |
EOF | NameTable | XmlLang |
HasAttributes | NodeType | XmlResolver |
HasValue | Prefix | XmlSpace |
IsDefault | QuoteChar | |
Methods | ||
Close | MoveToAttribute | ReadInnerXml |
Equals | MoveToContent | ReadOuterXml |
Finalize | MoveToElement | ReadStartElement |
GetAttribute | MoveToFirstAttribute | ReadString |
GetHashCode | MoveToNextAttribute | ReadTypedValue |
GetType | Read | ResolveEntity |
IsStartElement | ReadAttributeValue | Skip |
LookupNamespace | ReadElementString | ToString |
MemberwiseClone | ReadEndElement | |
Events | ||
ValidationEventHandler |
Abstract class. Member of System.Xml .
Properties | ||
---|---|---|
WriteState | XmlLang | XmlSpace |
Methods | ||
Close | WriteBinHex | WriteName |
Equals | WriteCData | WriteNmToken |
Finalize | WriteCharEntity | WriteNode |
Flush | WriteChars | WriteProcessingInstruction |
GetHashCode | WriteComment | WriteQualifiedName |
GetType | WriteDocType | WriteRaw |
LookupPrefix | WriteElementString | WriteStartAttribute |
MemberwiseClone | WriteEndAttribute | WriteStartDocument |
ToString | WriteEndDocument | WriteStartElement |
WriteAttributes | WriteEndElement | WriteString |
WriteAttributeString | WriteEntityRef | WriteSurrogateCharEntity |
WriteBase64 | WriteFullEndElement | WriteWhit espace |
for RuBoard |