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

XsltContext — System.Xml.Xsl (system.xml.dll)   abstract class 

Synopsis

public abstract class XsltContext : System.Xml.XmlNamespaceManager {
// Public Constructors
   public XsltContext( );  
   public XsltContext( System.Xml.NameTable table);  
// Public Instance Properties
   public abstract bool Whitespace{get; } 
// Public Instance Methods
   public abstract int CompareDocument( string baseUri, string nextbaseUri);  
   public abstract bool PreserveWhitespace( System.Xml.XPath.XPathNavigator node);  
   public abstract IXsltContextFunction ResolveFunction( string prefix, string name, System.Xml.XPath.XPathResultType[ ] ArgTypes);  
   public abstract IXsltContextVariable ResolveVariable( string prefix, string name);  
}

This class provides a way to resolve namespaces and determine the current context for XPath variables and expressions. It inherits System.Xml.XmlNamespaceManager and its namespace functions. Additional methods defined for this class resolve variables (ResolveVariable( )) as well as references to XPath functions invoked during execution (ResolveFunction( )).

Hierarchy

System.ObjectSystem.Xml.XmlNamespaceManager(System.Collections.IEnumerable)XsltContext

Passed To

IXsltContextFunction.Invoke( ), IXsltContextVariable.Evaluate( )

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