GLOBAL SITES
 Home > Word-2-Web > Macrobject Word-2-Web Manual
Welcome to DocAuto products
Creating Web Help System
Options
Regenerating Web Help System
Using Command Line
Creating Customize Template
  Basic Concepts of Template
  Contents of a Template
  Template Tag and Nuva Language Reference
Working with Security Software
FAQ
Registering Word-2-Web
End User License Agreement

6.1     Basic Concepts of Template

A Word-2-Web template is a set of files. Usually, a Word-2-Web template contains a template definition file, a topic page file, a script file, an optional preview file and other files (images, style sheets, javascripts, etc.). These files are used by Word-2-Web to create web help system files from the Word document.

Template files are text files (*.html, *.asp, *.jsp, *.aspx, *.php, *.css, *.js, etc.) with some embedded tags in it. The embedded tags are also called “scripts”. Word-2-Web uses Nuva Language as its scripting language.

The syntax of Nuva scripts (embedded tags) in the template is similar to Xsp (asp, asp.net, php, jsp, etc.). The Nuva scripts are embedded in “<.” and “.>” (or “[.” and “.]”) and that Xsp scripts are embedded in “<%” and “%>”. Any Nuva statement (e.g. output, variable declares, function declares, control statements) can be used in the template of Word-2-Web.

Don’t worry! Nuva language skills are not required while creating a template.

Below is an example of using Nuva scripts in the template:

Figure 61         Nuva script example

 

Related Topics

Creating Customize Template