Online documentation - Websydian v6.1 |
The XmlFileGenerator inherits from the XmlGenerator but instead of sending output to the browser the output is saved to a file.
Implementation instructions follows the XmlGenerator, except that you need to inherit from XmlFileGenerator instead of XmlGenerator.
If using XmlFileGenerator with the Parent and Child PageGenerator patterns it is necessary to transfer the WriteHandle field from parent to child. Please apply the following steps:
Set Document<WriteHandle> = Input<WriteHandle>"
Make sure to replace the ErrorPage function of the XmlFileGenerator with a function which outputs any errors to the destination of the developers choice.