Skip to Content
.NET & XML
book

.NET & XML

by Niel M. Bornstein
November 2003
Intermediate to advanced
476 pages
14h 38m
English
O'Reilly Media, Inc.
Content preview from .NET & XML

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( )

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied XML Programming for Microsoft® .NET

Applied XML Programming for Microsoft® .NET

Dino Esposito
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0596003978Supplemental ContentErrata