CustomContext Class

This represents a custom XSLT context used by BuildAssembler

Definition

Namespace: Sandcastle.Core.BuildAssembler
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.2.18.0
public class CustomContext : XsltContext
Inheritance
Object    XmlNamespaceManager    XsltContext    CustomContext

Constructors

CustomContext Constructor
CustomContext(IDictionaryString, String) This constructor takes a dictionary containing the namespaces (the key is the prefix, the value is the namespace URI).

Properties

DefaultNamespaceGets the namespace URI for the default namespace.
(Inherited from XmlNamespaceManager)
Item Indexer
NameTableGets the XmlNameTable associated with this object.
(Inherited from XmlNamespaceManager)
WhitespaceWhen overridden in a derived class, gets a value indicating whether to include white space nodes in the output.
(Overrides XsltContextWhitespace)

Methods

AddNamespaceAdds the given namespace to the collection.
(Inherited from XmlNamespaceManager)
ClearVariable Clear the named variable
ClearVariables Clear all variables
CompareDocument This method is not used
(Overrides XsltContextCompareDocument(String, String))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumeratorReturns an enumerator to use to iterate through the namespaces in the XmlNamespaceManager.
(Inherited from XmlNamespaceManager)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetNamespacesInScopeGets a collection of namespace names keyed by prefix which can be used to enumerate the namespaces currently in scope.
(Inherited from XmlNamespaceManager)
GetTypeGets the Type of the current instance.
(Inherited from Object)
HasNamespaceGets a value indicating whether the supplied prefix has a namespace defined for the current pushed scope.
(Inherited from XmlNamespaceManager)
LookupNamespaceGets the namespace URI for the specified prefix.
(Inherited from XmlNamespaceManager)
LookupPrefixFinds the prefix declared for the given namespace URI.
(Inherited from XmlNamespaceManager)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PopScopePops a namespace scope off the stack.
(Inherited from XmlNamespaceManager)
PreserveWhitespaceWhen overridden in a derived class, evaluates whether to preserve white space nodes or strip them for the given context.
(Overrides XsltContextPreserveWhitespace(XPathNavigator))
PushScopePushes a namespace scope onto the stack.
(Inherited from XmlNamespaceManager)
RemoveNamespaceRemoves the given namespace for the given prefix.
(Inherited from XmlNamespaceManager)
ResolveFunction This method is not implemented
(Overrides XsltContextResolveFunction(String, String, XPathResultType))
ResolveVariableWhen overridden in a derived class, resolves a variable reference and returns an IXsltContextVariable representing the variable.
(Overrides XsltContextResolveVariable(String, String))
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also