Generate After the server script has done all the setup, it calls the Generate function, which returns the generated HTML as a string.
Use out.print to insert code in the page template:
out.print( dwGen.Generate() );
GenerateXHTML and GenerateXMLWeb You return the Web DataWindow in XHTML with the GenerateXHTML command:
out.print( dwGen.GenerateXHTML() );
The GenerateXMLWeb method generates the content, layout, style, and client-side functionality of the DataWindow separately in XML, XSLT, CSS, and JS files. It returns the browser-specific XSLT transformation script that uses the generated files to render the DataWindow in XHTML on the client side:
out.print( dwGen.GenerateXMLWeb() );