Xslt.CallInitialTemplate Method (XmlReader, IResultDocumentHandler)Xslt.CallInitialTemplate Method (XmlReader, IResultDocumentHandler)Xslt::CallInitialTemplate Method (XmlReader^, IResultDocumentHandler^)
- XmlPrime 2.8
- Other Versions ▼
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 )
Parameters
- input
Type: System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader^
The XmlReaderXmlReaderXmlReader containing the input document.
- resultDocumentHandler
Type: XmlPrime.IResultDocumentHandlerXmlPrime.IResultDocumentHandlerXmlPrime::IResultDocumentHandler^
The result document handler.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
input or resultDocumentHandler is null
a null reference (Nothing in Visual Basic)
nullptr .
|
XdmExceptionXdmExceptionXdmException | Raised if a non-recoverable error is encountered. |
Remarks
This method is suitable for use with multiple result documents.