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

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

Syntax

Public Sub CallInitialTemplate( _
    input As System.Xml.XmlReader, _
    resultDocumentHandler As IResultDocumentHandler _
)
public void CallInitialTemplate(
    System.Xml.XmlReader input,
    IResultDocumentHandler resultDocumentHandler
)
public:
void CallInitialTemplate(
    System.Xml::XmlReader^ input, 
    IResultDocumentHandler^ resultDocumentHandler
)
 

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException input 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.