An XProc script is edited as an XML document that is validated against a RELAX NG schema. If the script has an associated transformation scenario then the XProc engine from the scenario is invoked as validating engine. The default engine for XProc scenarios is the Calabash engine which comes with <oXygen/> version 11.2.
The content completion inside the element input/inline from the XProc namespace "http://www.w3.org/ns/xproc" offers elements from the following schemas depending on the port attribute of input and the parent of input:
When invoking the content completion inside the XProc element inline
,
depending on the attribute port
of its parent input
element and
the parent of element input
, elements from different schemas are offered inside
the proposals list:
If the value of the port attribute is
'stylesheet' and element 'xslt' is the
parent of element input
, the content completion offers XSLT elements.
If the value of the port attribute is
'schema' and element
'validate-with-relax-ng' is the parent of element
input
, the content completion offers RELAX NG schema elements.
If the value of the port attribute is
'schema' and element
'validate-with-xml-schema' is the parent of element
input
, the content completion offers XML Schema schema elements.
If the value of the port attribute is
'schema' and element
'validate-with-schematron' is the parent of element
input
, the content completion offers either ISO Schematron elements or
Schematron 1.5 schema elements.
If the above cases do not apply then the content completion window offers elements from all the schemas from the above cases.