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:

    To see the XML metadata values provided by the selected Default document template, click the Details... button.

    Figure 2. Metadata Details of the Default Template in the New Document Dialog.



    1. Stylesheet

      In the Stylesheet field, see the path to the default stylesheet.

    2. Encoding

      Default encoding is UTF-8.

  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.

  5. Specify the root element.

    In the Enter Root Element Dialog, do the following:

    1. Type the root element in the Root Element field.

      Figure 3. Enter Root Element Dialog without schema validation.



    2. Click OK.