24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The New <strong>XML</strong> Project wizard is displayed.2. Type a name for the new project.3. Click the Next button.4. Select other Eclipse projects that you want to reference in the new project.5. Click the Finish button.Editing Documents | 44Editing <strong>XML</strong> DocumentsThis section explains the <strong>XML</strong> editing features of the application. All the user interface components and actions availableto users are described in detail with appropriate procedures for various tasks.Associate a Schema to a DocumentThis section explains the methods of associating a schema to a document for validation and content completion purposes.Setting a Schema for Content CompletionThis section explains the available methods of setting a schema for content completion in an <strong>XML</strong> document edited in<strong>Oxygen</strong> <strong>XML</strong>.Supported Schema Types for <strong>XML</strong> DocumentsThe supported schema types are:• W3C <strong>XML</strong> Schema (with and without embedded Schematron rules)• DTD• Relax NG - <strong>XML</strong> syntax (with and without embedded Schematron rules)• Relax NG - compact syntax• NVDL• Schematron (both ISO Schematron and Schematron 1.5)Setting a Default Schema<strong>Oxygen</strong> <strong>XML</strong> uses the following search pattern when it tries to detect an <strong>XML</strong> schema:• in the validation scenario associated with the document;• in the validation scenario associated with the document type (if defined).• specified in the document;Note: If a DTD schema is specified in the document, the content completion for <strong>Author</strong> mode is based onthis schema (even if there is already one detected from the validation scenario);• detected from the document type that matches the edited document - Each document type available in DocumentType Association preferences page contains a set of rules for associating a schema with the current document.Note: The locations are sorted by priority, from high to low.The schema has one of the following types: <strong>XML</strong> Schema, <strong>XML</strong> Schema with embedded Schematron rules, Relax NG(<strong>XML</strong> syntax or compact syntax), Relax NG (<strong>XML</strong> syntax) with embedded Schematron rules, Schematron, DTD, NVDL.The rules are applied in the order they appear in the table and take into account the local name of the root element, thedefault namespace and the file name of the document.Important:The editor is creating the content completion lists by analysing the specified schema and the current context(the position in the editor). If you change the schema, then the list of tags to be inserted is updated.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!