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

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

Synopsis

public class NameTable : XmlNameTable {
// Public Constructors
   public NameTable( );  
// Public Instance Methods
   public override string Add( char[ ] key, int start, int len);       // overrides XmlNameTable
   public override string Add( string key);                           // overrides XmlNameTable
   public override string Get( char[ ] key, int start, int len);       // overrides XmlNameTable
   public override string Get( string value);                         // overrides XmlNameTable
}

This class is a concrete implementation of the XmlNameTable type (described later in this chapter). It is entirely an optimization within the .NET XML stack; it provides 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. See XmlNameTable for more discussion of its behavior and usage.

Normally .NET applications have no need to use this class directly. At most, a new instance is passed in blindly when constructing various XML-related types, such as XmlNamespaceManager.

Hierarchy

System.ObjectXmlNameTableNameTable

Passed To

System.Xml.Xsl.XsltContext.XsltContext( )

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