Creating a New Document

You can create a new document in the New Document Dialog.
  1. Call up the New Document Dialog.

    To call up the New Document Dialog, choose Document > New Document , or click the New Document button on the toolbar, or press Ctrl-N.

    Figure 1. New Document Dialog.



  2. Create a new document one of these ways depending on your needs:
    1. Creating a New Document with a Template

      For certain types of XML documents there are predefined document templates, e.g for Docbook and DITA documents. To create such documents, you merely choose the name of the appropriate template, and the appropriate XML metadata, such as DTD, schema and stylesheet, will be applied automatically.

      1. Creating a New Document with the Default Template

        If you wish to create a simple XML document that has no DTD, no defined schema or special stylesheet, you should create it with the Default Template.

      Note:

      See Document Template Development for instructions on how to create your own custom document templates for your XML documents.

    2. Creating a New Document without a Template

      If you want to create an XML document for which you have some combination of DTD, schema, or stylesheet but do not have a document template , you should provide the paths to these XML metadata files manually.

Related tasks
Opening an Existing Document
Saving a Document
Closing a Document