Name

XmlNameTable — System.Xml (system.xml.dll) CF 1.0, ECMA 1.0 abstract class 

Synopsis

public abstract class XmlNameTable {
// Protected Constructors
   protected XmlNameTable( );  
// Public Instance Methods
   public abstract string Add( char[ ] array, int offset, int length);  
   public abstract string Add( string array);  
   public abstract string Get( char[ ] array, int offset, int length);  
   public abstract string Get( string array);  
}

This class presents a table of string objects (for element and attribute names) used in an XML document. The XML parser uses these string objects for efficient manipulation of repeated element and attribute names. An XmlNameTable exists for every XmlDocument you create. The XmlImplementation class instantiates a new XmlDocument with the XmlNameTable of another existing XmlDocument.

Subclasses

NameTable

Returned By

XmlDocument.NameTable, XmlNamespaceManager.NameTable, XmlParserContext.NameTable, XmlReader.NameTable, System.Xml.XPath.XPathNavigator.NameTable

Passed To

XmlDocument.XmlDocument( ), XmlNamespaceManager.XmlNamespaceManager( ), XmlParserContext.{NameTable, XmlParserContext( )}, XmlTextReader.XmlTextReader( )

Get .NET & XML 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.