ePublisher Platform XSLT Extensions
 
void Document (object input, string path, string encoding, string method, string version, string indent, string omit_xml_declaration)
 
Writes the specified node set to a file at the location defined by path. Uses specified encoding for writing content. Uses specified method (i.e. text, xhtml, xml...) and version. Specify if file is to be formatted with indentation with 'yes' or 'no'. Specify if file will have XML declaration with 'yes' or 'no'.
Parameters:
input
The input node set.
path
Full pathname of the file.
encoding
The encoding.
method
The method.
version
The version.
indent
Indent 'yes' or 'no'.
omit_xml_declaration
Omit XML declaration 'yes' or 'no'.