Xslt.CallInitialTemplate Method (DynamicContextSettings, IResultDocumentHandler)Xslt.CallInitialTemplate Method (DynamicContextSettings, IResultDocumentHandler)Xslt::CallInitialTemplate Method (DynamicContextSettings^, IResultDocumentHandler^)

Calls the template named xsl:initial-template using the specified dynamic context settings and outputs all result documents using an object implementing the IResultDocumentHandlerIResultDocumentHandlerIResultDocumentHandler interface.

Syntax

Public Sub CallInitialTemplate( _
    settings As DynamicContextSettings, _
    resultDocumentHandler As IResultDocumentHandler _
)
public void CallInitialTemplate(
    DynamicContextSettings settings,
    IResultDocumentHandler resultDocumentHandler
)
public:
void CallInitialTemplate(
    DynamicContextSettings^ settings, 
    IResultDocumentHandler^ resultDocumentHandler
)
 

Parameters

settings

Type: XmlPrime.DynamicContextSettingsXmlPrime.DynamicContextSettingsXmlPrime::DynamicContextSettings^

The settings of the dynamic evaluation context.

resultDocumentHandler

Type: XmlPrime.IResultDocumentHandlerXmlPrime.IResultDocumentHandlerXmlPrime::IResultDocumentHandler^

The result document handler.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException settings or resultDocumentHandler is null a null reference (Nothing in Visual Basic) nullptr.
XdmExceptionXdmExceptionXdmExceptionRaised if a non-recoverable error is encountered.

Remarks

This method is suitable for use with multiple result documents.