Xslt.ApplyTemplates Method (XmlReader, IResultDocumentHandler)Xslt.ApplyTemplates Method (XmlReader, IResultDocumentHandler)Xslt::ApplyTemplates Method (XmlReader^, IResultDocumentHandler^)
Applies default mode template rules to the specified input document and outputs all result documents using an
object implementing the IResultDocumentHandlerIResultDocumentHandlerIResultDocumentHandler interface.
Syntax
Public Sub ApplyTemplates( _ input As System.Xml.XmlReader, _ resultDocumentHandler As IResultDocumentHandler _ )
public void ApplyTemplates( System.Xml.XmlReader input, IResultDocumentHandler resultDocumentHandler )
public: void ApplyTemplates( 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
The initial mode is the default mode (#default
).
This method is suitable for use with multiple result documents.