Templates in Amaya
Templates have been introduced in Amaya to allow users to specify the type of XHTML documents they want to produce. Templates are XHTML documents that contain some statements constraining the structure of (some parts of) the XHTML document. These statements are expressed in the XTiger language.
A few sample templates are provided to help users discover how Amaya works with templates:
- a resume
- a slide show
- more to come
This is the slide show template |
The image shows a slide show instance generated by Amaya |
Refer to the Templates section in the Amaya help to learn how to use this feature. The Template help page is also available online.
Experiment the templating feature
The templating feature is available by default.
- Amaya provides a Template tab of the Elements tool for creating or updating templates
- To ease selection among your favorite templates (.xtd file), there is a Templates section in the Preferences dialogue.
- To create a new document instance from a template, use entry New/New document in the File menu.