If the document's schema is an XML Schema, Relax NG (full syntax), NVDL or DTD and it contains element, attributes or attributes values annotations, these will be presented when the content completion window is displayed, only if the option Show annotations is enabled. Also the annotation is presented in a small tooltip window displayed automatically when the mouse hovers over an element or attribute annotated in the associated schema of the edited document.
<xs:annotation> <xs:documentation> Description of the element. </xs:documentation> </xs:annotation>
If the current element / attribute in the edited document does not have an annotation in the schema and that schema is an XML Schema, Oxygen XML Developer plugin seeks an annotation in the type definition of the element / attribute or, if no annotation is found there, in the parent type definition of that definition, etc.
When editing a Schematron schema the content completion assistant displays XSLT 1.0 functions and optionally XSLT 2.0 functions in the attributes path, select, context, subject, test depending on the Schematron options that are set in Preferences. If the Saxon 6.5.5namespace (xmlns:saxon="http://icl.com/saxon") or the Saxon 9.3.0.5 namespace is declared in the Schematron schema (xmlns:saxon="http://saxon.sf.net/") the content completion displays also the XSLT Saxon extension functions as in the following figure:
XSLT extension functions in Schematron schemas documents
In a Relax NG schema any element outside the Relax NG namespace (http://relaxng.org/ns/structure/1.0) is handled as annotation and the text content is displayed in the annotation window together with the content completion window:
For NVDL schemas annotations for the elements / attributes in the referred schemas (XML Schema, RNG, etc) are presented
Schema annotations displayed at Content Completion
The following HTML tags are recognized inside the text content of an XML Schema annotation: p, br, ul, li. They are rendered as in an HTML document loaded in a web browser: p begins a new paragraph, br breaks the current line, ul encloses a list of items, li encloses an item of the list.
<!--doc:Description of the element. -->