Writing Output
If a file is determined to be not up to date, then a XSL template is called, with the result then passed along with information regarding what type of output file is to be written, to the wwexsldoc:Document() method for processing. If the output is to contain XML or HTML elements, then it is necessary to use the msxsl:node-set() method to make the contents of the variable behave as a new XML fragment.