Editing XProc Scripts
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 that comes bundled with Oxygen XML Author plugin version 18.1.
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 both on the port attribute and the parent of the
            input element. When invoking the content completion inside the XProc
            element inline, the list of content completion proposals is populated as
            follows:
         
- If the value of the portattribute isstylesheetand thexsltelement is the parent of theinputelements, the Content Completion Assistant offers XSLT elements.
- If the value of the portattribute isschemaand thevalidate-with-relax-ngelement is the parent of theinputelement, the Content Completion Assistant offers RELAX NG schema elements.
- If the value of the portattribute isschemaand thevalidate-with-xml-schemaelement is the parent of theinputelement, the Content Completion Assistant offers XML Schema schema elements.
- If the value of the portattribute isschemaand thevalidate-with-schematronelement is the parent of theinputelement , the Content Completion Assistant offers either ISO Schematron elements or Schematron 1.5 schema elements.
- If the above cases do not apply, then the Content Completion Assistant offers elements from all the schemas from the above cases.
The XProc editor assists you in writing XPath expressions by offering a Content Completion Assistant and dedicated coloring schemes. To customize the coloring schemes, open the Preferences dialog box and go to .
