Chapter II. Advanced Integration
Prev | 8. Template Based Editing | Next

## 8. Template Based Editing

edit-on Pro supports template based editing. You can load a template by using the `templateurl` property or by setting the JavaScript API functions `setTemplate` or `setTemplateURL` . If you specify a template using the `templateurl` property, the template is loaded before any other content is loaded into the editor. In addition, the template will be loaded as base template for any new documents (i.e. every time the `NEW` action is fired).

Example II.20. Specifying a template in the configuration file

    <templateurl url="mytemplate.xhtml" />

Prev | Up | Next
7. Using Custom DTDs | Home | 9. Managing Embedded Files