XmlDocTransformer.AddExtension Method

Namespace
Kampute.DocToolkit.XmlDoc
Assembly
  • Kampute.DocToolkit.dll

Definition

Adds an extension object to the XSLT transformation using the specified namespace URI as string.
protected void AddExtension(string namespaceUri, object extension)

Parameters

namespaceUri string
The namespace URI of the extension object.
extension object
The extension object to add.

Exceptions

ArgumentNullException
Throw when namespaceUri is null.
ArgumentException
Thrown when namespaceUri is already has an extension object associated with it.