<oXygen/> User Guide |
This chapter explains how to create, edit and manage files as part of a project within the Oxygen XML Editor.
Oxygen supports a number of Document Types, use the following procedure to create documents.
Procedure 4.1. Creating new documents
Select Ctrl+N). The New dialog is displayed which contains the supported Document Types: XML, XSL, XML Schema, Document Type Definition, Relax NG Schema, Text File, Java File, C File, C++ File, Batch File, Shell File, Properties File, SQL File, PHP File and PERL File.
-> (Select a document type, then click
. If XML was selected the Create an XML Document dialog is displayed otherwise a new document is opened in the Editor Panel.The Create an XML Document dialog enables definition of a XML Document Prolog using the system identifier of a XML Schema, DTD, Relax NG (full or compact syntax) schema or NRL (Namespace Routing Language) schema. As not all XML documents are required to have a Prolog, you may choose to skip this step by clicking
. If the prolog is required complete the fields as the following.Complete the dialog as follows:
When checked enables selection between DTD, XML Schema, Relax NG schema or NRL schema.
Specifies the location of an XML Schema Document (XSD).
Populated from the elements defined in the specified XSD, enables selection of the element to be used as document root.
Specifies the document namespace.
Complete the dialog as follows:
When checked enables selection between DTD, XML Schema, Relax NG schema or NRL schema.
Specifies the location of a Document Type Definition (DTD).
Populated from the elements defined in the specified DTD, enables selection of the element to be used as document root.
Specifies the PUBLIC identifier declared in the Prolog.
Complete the dialog as follows:
When checked enables selection between DTD, XML Schema, Relax NG schema or NRL schema.
Specifies the location of a Relax NG schema in XML or compact syntax (RNG/RNC).
When checked the specified URL refers to a Relax NG schema in XML syntax. It will be checked automatically if the user selects a document with the .rng extension.
When checked the specified URL refers to a Relax NG schema in compact syntax. It will be checked automatically if the user selects a document with the .rnc extension.
Populated from the elements defined in the specified RNG or RNC document, enables selection of the element to be used as document root.
Specifies the root element namespace.
Complete the dialog as follows:
When checked enables selection between DTD, XML Schema, Relax NG schema or NRL schema.
Specifies the location of a NRL schema (NRL).