Name

XsltContext

Synopsis

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

Public MustInherit Class XsltContext : Inherits System.Xml.XmlNamespaceManager
' Public Constructors
   Public Sub New() 
   Public Sub New( ByVal table As System.Xml.NameTable) 
' Public Instance Properties
   MustInherit Public ReadOnly Property Whitespace As Boolean  
' Public Instance Methods
   MustInherit Public Function CompareDocument(
        ByVal baseUri As String, 
        ByVal nextbaseUri As String) As Integer  
   MustInherit Public Function PreserveWhitespace(
        ByVal node As System.Xml.XPath.XPathNavigator) As Boolean  
   MustInherit Public Function ResolveFunction(
        ByVal prefix As String, ByVal name As String, 
        ByVal ArgTypes As System.Xml.XPath.XPathResultType()) As IXsltContextFunction  
   MustInherit Public Function ResolveVariable(
        ByVal prefix As String, 
        ByVal name As String) As IXsltContextVariable  
End Class

Hierarchy

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

Passed To

IXsltContextFunction.Invoke(), IXsltContextVariable.Evaluate()

Get VB.NET Core Classes in a Nutshell 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.