Xslt.ApplyTemplates Method (string, string, DynamicContextSettings, XmlWriter)Xslt.ApplyTemplates Method (String, String, DynamicContextSettings, XmlWriter)Xslt::ApplyTemplates Method (String^, String^, DynamicContextSettings^, XmlWriter^)
Applies template rules with the specified initial mode using the specified initial dynamic context settings
and outputs the primary result document to an XmlWriterXmlWriterXmlWriter.
Syntax
Public Sub ApplyTemplates( _ initialModeLocalName As String, _ initialModeNamespace As String, _ settings As DynamicContextSettings, _ resultDocument As System.Xml.XmlWriter _ )
public void ApplyTemplates( string initialModeLocalName, string initialModeNamespace, DynamicContextSettings settings, System.Xml.XmlWriter resultDocument )
public: void ApplyTemplates( String^ initialModeLocalName, String^ initialModeNamespace, DynamicContextSettings^ settings, System.Xml::XmlWriter^ resultDocument )
Parameters
- initialModeLocalName
Type: System.StringSystem.StringSystem::String^
The local name of the initial mode.
- initialModeNamespace
Type: System.StringSystem.StringSystem::String^
The namespace URI of the initial mode.
- settings
Type: XmlPrime.DynamicContextSettingsXmlPrime.DynamicContextSettingsXmlPrime::DynamicContextSettings^
The settings of the dynamic evaluation context.
- resultDocument
Type: System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter^
The XmlWriterXmlWriterXmlWriter to which the primary result document will be written.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
initialModeLocalName, initialModeNamespace,
settings or resultDocument is null
a null reference (Nothing in Visual Basic)
nullptr .
|
XdmExceptionXdmExceptionXdmException | Raised if a non-recoverable error is encountered. |