ePublisher Platform XSLT Extensions
 
void Document (object input, string path)
 
Writes the specified node set to a file at the location defined by path.
Parameters:
input
The input node set.
path
Full pathname of the file.
Write a node set to a file.
<xsl:variable name="VarResultAsXML">
...
</xsl:variable>
<xsl:variable name = "VarResult" select="msxsl:node-set($VarResultAsXML)/*" />
<xsl:variable name = "VarWriteDocument" select="wwexsldoc:Document($VarResult, 'C:\badplacefor.xml')" />