<oXygen/> User Guide

Creating Documents based on Templates

Templates are documents containing a predefined structure. They provide starting points on which to rapidly build new documents that repeat the same basic characteristics. Oxygen installs a rich set of templates for a number of XML applications. You may also create your own templates and share them with other users.

The Templates dialog, enables you to select templates that have already been created in previous sessions or by other users. Open the Templates dialog by selecting File->New from Templates.

Figure 4.10. The Templates Dialog

The Templates Dialog

Open a template using the following options:

Standard

Populates the Templates list to show templates supplied with the Oxygen installation package.

From File

Populates the Templates list to show personal templates previous saved.

From URL

Enables definition of a URL location containing Templates.

Templates List

Displays the available templates for Standard, From File and From URL options.

Procedure 4.3. Creating Documents based on Standard Templates

  1. Select File->New from Templates. The Templates dialog is displayed.

  2. Select the Standard option from the Load Templates Group. The Templates list displays standard Oxygen templates.

  3. Scroll the Templates list and select the required Template Type.

  4. Click OK. A new document is opened that already contains structure and content provided in the template starting point.

Procedure 4.4. Creating Documents based on Personal Template Files

  1. Select File->New from Templates. The Templates dialog is displayed.

  2. Select the From File option from the Load Templates Group. The Templates list displays person templates.

  3. Scroll the Templates list and select the required Template Type.

  4. Click OK. A new document is opened that already contains structure and content provided in the template starting point.

Procedure 4.5. Creating Documents based on URL Template Files

  1. Select File->New from Templates. The Templates dialog is displayed.

  2. Select the From URL option from the Load Templates Group. The From URL field is enabled.

  3. Enter the URL location of the templates, then click Load. The list of templates is retrieved from the URL and displayed in the Templates list.

  4. Scroll the Templates list and select the required Template Type.

  5. Click OK. A new document is opened that already contains structure and content provided in the template starting point.