XMLWriter2
Synopsis
Deprecated alias for XMLWriter .
Description
Snippet
<xmlwriter2 class="XMLWriter2">
<fileName></fileName>
<outDir></outDir>
<roots></roots>
<xslTransform></xslTransform>
</xmlwriter2>
Mandatory parameters
fileName
Mandatory
Type: Expression
Expression evaluated as a string with the file root element as the context element. The result specifies the file where to write the result.
outDir
Mandatory
Type: OutputDirectory
Base directory where all file are written.
roots
Mandatory
Type: Expression
Expression evaluated as a list of elements with the corpus as the context element. XMLWriter2 writes a file for each element in the result.
xslTransform
Mandatory
Type: SourceStream
XSLT stylesheet that specifies the output.
Optional parameters
indent
Default value: `true`
Type: Boolean
Either to indent the resulting XML.