Xslt.CallTemplate Method (XmlQualifiedName, XmlReader, IResultDocumentHandler)Xslt.CallTemplate Method (XmlQualifiedName, XmlReader, IResultDocumentHandler)Xslt::CallTemplate Method (XmlQualifiedName^, XmlReader^, IResultDocumentHandler^)
Calls the specified named template using the specified input document and outputs result documents using an
object implementing the IResultDocumentHandlerIResultDocumentHandlerIResultDocumentHandler interface.
Syntax
Public Sub CallTemplate( _ initialTemplateName As System.Xml.XmlQualifiedName, _ input As System.Xml.XmlReader, _ resultDocumentHandler As IResultDocumentHandler _ )
public void CallTemplate( System.Xml.XmlQualifiedName initialTemplateName, System.Xml.XmlReader input, IResultDocumentHandler resultDocumentHandler )
public: void CallTemplate( System.Xml::XmlQualifiedName^ initialTemplateName, System.Xml::XmlReader^ input, IResultDocumentHandler^ resultDocumentHandler )
Parameters
- initialTemplateName
Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^
The name of the initial template.
- 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 |
initialTemplateName,
input or resultDocumentHandler is null
a null reference (Nothing in Visual Basic)
nullptr .
|
XdmExceptionXdmExceptionXdmException | Raised if a non-recoverable error is encountered. |