Content Completion in SQF
Oxygen XML Editor Eclipse plugin helps you edit Schematron Quick Fixes embedded in a Schematron document by offering proposals that are valid at the cursor position in a Content Completion Assistant. It can be manually activated with the Ctrl + Space shortcut.
When you edit the value of an attribute that references a Quick Fix
ID, the ids are collected from the entire definition scope. For example, if the editing
context is assert/@sqf:fix
, the Content Completion Assistant
proposes all fixes defined locally and globally.
If the editing context is an attribute value that is an XPath expression (such as
sqf:add/@match
or replace/@select
), the Content
Completion Assistant offers the names of XPath functions, the XPath axes, and
user-defined variables and parameters.
The Content Completion Assistant displays XSLT 1.0 functions (and optionally
XSLT 2.0 / 3.0 functions) in the @path
, @select
,
@context
, @subject
, and @test
attributes,
depending on the Schematron options that
are set in Preferences pages. If the Saxon namespace
(xmlns:saxon="http://icl.com/saxon"
) or the Saxon namespace is declared in
the Schematron schema (xmlns:saxon="http://saxon.sf.net/"
) the content
completion also displays the XSLT Saxon extension functions.