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.

  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. Select the default document template.

    In the New Document Dialog, select the Default Category and the Default Template.

    Tip:

    You can click the Details... button to see the values provided by the selected template and change them if needed.

  3. Specify the filename and location for the new document.

    In the File Name field, enter the filename. You can use the Browse button to specify the file location.

  4. Click OK.

    The Enter Root Element Dialog will appear.

    Figure 2. Enter Root Element Dialog without schema validation.



  5. Specify the root element.

    In the Enter Root Element Dialog, do the following:

    1. Type the root element in the Root Element field.
    2. Click OK.
    A new document with the specified root element will be created.

    Figure 3. A new document created with the Default template.



Related concepts
Document Template Details
Specifying the Root Element for a New Document
Document Template Details
Specifying the Root Element for a New Document
Related tasks
Creating a New Document without a Template
Related information
New Document Dialog
Enter Root Element Dialog
Default Stylesheet