Xslt.ApplyTemplates Method (XmlQualifiedName, DynamicContextSettings, Stream)Xslt.ApplyTemplates Method (XmlQualifiedName, DynamicContextSettings, Stream)Xslt::ApplyTemplates Method (XmlQualifiedName^, DynamicContextSettings^, Stream^)
Applies template rules with the specified initial mode using the specific dynamic context settings.
and outputs the primary result document to a StreamStreamStream.
Syntax
Public Sub ApplyTemplates( _ initialMode As System.Xml.XmlQualifiedName, _ settings As DynamicContextSettings, _ resultDocument As System.IO.Stream _ )
public void ApplyTemplates( System.Xml.XmlQualifiedName initialMode, DynamicContextSettings settings, System.IO.Stream resultDocument )
public: void ApplyTemplates( System.Xml::XmlQualifiedName^ initialMode, DynamicContextSettings^ settings, System.IO::Stream^ resultDocument )
Parameters
- initialMode
Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^
The initial mode.
- settings
Type: XmlPrime.DynamicContextSettingsXmlPrime.DynamicContextSettingsXmlPrime::DynamicContextSettings^
The settings of the dynamic evaluation context.
- resultDocument
Type: System.IO.StreamSystem.IO.StreamSystem.IO::Stream^
The StreamStreamStream to which the primary result document will be written.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
initialMode is null
a null reference (Nothing in Visual Basic)
nullptr .
|
XdmExceptionXdmExceptionXdmException | Raised if a non-recoverable error is encountered. |