# Templates

New documents can be based on one of a number of default templates (e.g. XHTML, XSL stylesheet, XML Schema, RELAX NG grammar, WordprocessingML document).

To add a template to the list, simply create a new document and save it with extension ‘.xml’ under ‘templates’ in the application directory. The next time you select ‘New...’ from the File menu, the template will be available. The template file does not need to be well-formed XML.