XSL Preferences
XSL stylesheets are often used to create output in XHTML or XSL-FO. In addition to suggesting
content completion options for XSLT stylesheet elements, Oxygen XML Editor can suggest
elements from these vocabularies. To configure the XSL content completion options, open the
Preferences dialog box and go to .
The following options are available:
- Automatically detect XHTML transitional or Formatting objects -
Detects if the output being generated is XHTML or FO and provides content completion for
those vocabularies. Oxygen XML Editor analyzes the namespaces declared in the root
element to find an appropriate schema.
If the detection fails,
Oxygen XML Editor
uses one of the following options:
- None - The Content Completion
Assistant suggests only XSLT elements.
- XHTML transitional - The Content Completion
Assistant includes XHTML transitional elements as substitutes for
xsl:element.
- Formatting objects - The Content Completion
Assistant includes Formatting Objects (XSL-FO) elements as substitutes
for xsl:element.
- Custom schema - If you want content completion hints for a
different output vocabulary, enter the path to the schema for that vocabulary here.
The supported schema types are DTD, XML Schema, RNG schema, or NVDL schema for
inserting elements from the target language of the stylesheet.
- Documentation schema - You can choose an additional schema that
will be used for documenting XSL stylesheets. Choose between the following:
- Build-in schema - Uses the built-in schema for
documentation.
- Custom schema - Allows you to specify a custom schema for
documentation. The supported schema types are XSD, RNG, RNC, DTD, and NVDL.