XsltContext Class

 

Encapsulates the current execution context of the Extensible Stylesheet Language for Transformations (XSLT) processor allowing XML Path Language (XPath) to resolve functions, parameters, and namespaces within XPath expressions.

Namespace:   System.Xml.Xsl
Assembly:  System.Xml (in System.Xml.dll)


public abstract class XsltContext : XmlNamespaceManager

NameDescription
System_CAPS_protmethodXsltContext()

Initializes a new instance of the XsltContext class.

System_CAPS_protmethodXsltContext(NameTable)

Initializes a new instance of the XsltContext class with the specified NameTable.

NameDescription
System_CAPS_pubpropertyDefaultNamespace

Gets the namespace URI for the default namespace.(Inherited from XmlNamespaceManager.)

System_CAPS_pubpropertyNameTable

Gets the XmlNameTable associated with this object.(Inherited from XmlNamespaceManager.)

System_CAPS_pubpropertyWhitespace

When overridden in a derived class, gets a value indicating whether to include white space nodes in the output.

NameDescription
System_CAPS_pubmethodAddNamespace(String, String)

Adds the given namespace to the collection.(Inherited from XmlNamespaceManager.)

System_CAPS_pubmethodCompareDocument(String, String)

When overridden in a derived class, compares the base Uniform Resource Identifiers (URIs) of two documents based upon the order the documents were loaded by the XSLT processor (that is, the XslTransform class).

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator to use to iterate through the namespaces in the XmlNamespaceManager.(Inherited from XmlNamespaceManager.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetNamespacesInScope(XmlNamespaceScope)

Gets a collection of namespace names keyed by prefix which can be used to enumerate the namespaces currently in scope.(Inherited from XmlNamespaceManager.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodHasNamespace(String)

Gets a value indicating whether the supplied prefix has a namespace defined for the current pushed scope.(Inherited from XmlNamespaceManager.)

System_CAPS_pubmethodLookupNamespace(String)

Gets the namespace URI for the specified prefix.(Inherited from XmlNamespaceManager.)

System_CAPS_pubmethodLookupPrefix(String)

Finds the prefix declared for the given namespace URI.(Inherited from XmlNamespaceManager.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodPopScope()

Pops a namespace scope off the stack.(Inherited from XmlNamespaceManager.)

System_CAPS_pubmethodPreserveWhitespace(XPathNavigator)

When overridden in a derived class, evaluates whether to preserve white space nodes or strip them for the given context.

System_CAPS_pubmethodPushScope()

Pushes a namespace scope onto the stack.(Inherited from XmlNamespaceManager.)

System_CAPS_pubmethodRemoveNamespace(String, String)

Removes the given namespace for the given prefix.(Inherited from XmlNamespaceManager.)

System_CAPS_pubmethodResolveFunction(String, String, XPathResultType[])

When overridden in a derived class, resolves a function reference and returns an IXsltContextFunction representing the function. The IXsltContextFunction is used at execution time to get the return value of the function.

System_CAPS_pubmethodResolveVariable(String, String)

When overridden in a derived class, resolves a variable reference and returns an IXsltContextVariable representing the variable.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

For more information on using XsltContext, see article Q324899, "HOW TO: Implement and Use Custom Functions When You Execute XPath Queries in Visual Basic .NET" in the Microsoft Knowledge Base at http://support.microsoft.com.

.NET Framework
Available since 1.1
Silverlight
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: