User`s guide

11 Functions – Alphabetical List
11-110
zipTemplate
Package DOM HTML template in zip file
Syntax
zipTemplate(unzippedTemplateFolder)
zipTemplate(zippedTemplate,unzippedTemplateFolder)
zipTemplate(zippedTemplate,unzippedTemplateFolder,mainDocument)
zipTemplate(zippedTemplate,unzippedTemplateFolder,mainDocument,
partTemplates)
Description
zipTemplate(unzippedTemplateFolder) zips (compresses and puts in a zip file) the
unzipped DOM template in unzippedTemplateFolder. The resulting zipped template
file name is the name specified in unzippedTemplateFolder, plus the file extension
htmtx. The zipTemplate function zips all of the files in the unzipped template folder,
including files in subfolders. The zipped template folder structure duplicates the folder
structure of the unzipped template.
Use this syntax if you created the unzipped template by unzipping a template created in
any of these ways:
Used mlreportgen.dom.Document.createTemplate
Copied the template from a default DOM template
Created the template without using the DOM API or DOM templates and the zipped
file complies with the conditions listed in “Tips”.
zipTemplate(zippedTemplate,unzippedTemplateFolder) zips the unzipped DOM
template into the file specified by zippedTemplate.
zipTemplate(zippedTemplate,unzippedTemplateFolder,mainDocument)
zips the unzipped DOM template into the file specified by zippedTemplate. Use
the mainDocument argument to specify the name of main document in the unzipped
template if the main document name in the unzipped template is not report.html or