|
 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.
Dont worry! Nuva language skills are not required while
creating a template.
Below is an example of using Nuva scripts in the template:

Figure 6‑1 Nuva script
example
Related Topics
Creating Customize Template
 |