Set Schema to be Used for Content Completion in Text Mode
The list of proposals in the Content Completion Assistant depend on the associated schemas. The DTD, XML Schema, Relax NG, or NVDL schema used to populate the Content Completion Assistant is specified in the following methods, in the order of their precedence:
- The schema specified explicitly in the document. In this case, Oxygen XML Editor plugin reads the beginning of the document and resolves the location of the DTD, XML Schema, Relax NG schema, or NVDL schema.
- The default schema declared in the Document Type configuration dialog box that matches the edited document type.
- For XSLT stylesheets, the schema specified in the Oxygen XML Editor plugin XSL preferences page. Oxygen XML Editor plugin will read the content completion settings when the prolog fails to provide or resolve the location of a DTD, XML Schema, Relax NG, or NVDL schema.
- For XML Schemas, the
schema specified in the Oxygen XML Editor plugin
XSD preferences
page.
Oxygen XML Editor plugin will read the content completion settings and the specified schema
will enhance the content completion inside the
xs:annotation/xs:appinfo
elements of the XML Schema.
Oxygen XML Editor plugin creates the content completion lists by analysing the detected schema and the current context (the position in the editor). If you change the schema, then the list of tags to be inserted is also updated.