Skip to content

Saxonica/Saxon-Forms

Repository files navigation

Saxon-Forms

The Saxon-Forms implementation is a XForms prototype written using Interactive XSLT 3.0. Interactive XSLT 3.0 is a feature of Saxon-JS, which is an XSLT 3.0 run-time written in pure JavaScript for use in the browser or a platform that supports JavaScript.

See conference papers below:

Implementing XForms using interactive XSLT 3.0. XML Prague 2018.

Distributing XSLT Processing between Client and Server. XML London 2017.

Build

The latest builds of Saxon-Forms are placed in the builds directory (i.e. saxon-xforms.sef.json, saxon-xforms.sef.xml). However to build the tool yourself you will need Saxon-EE to export the stylesheet into an export file (SEF file) to run directly in Saxon-JS.

For instructions to build the Saxon executable for Saxon-JS see: Exporting for JS (see the archive for instructions for Saxon-JS 1.1).

Setup

Saxon-Forms currently supports Saxon-JS 1.1.0 and Saxon-JS 2. To run Saxon-Forms you will need Saxon-JS which can be downloaded at Saxon-JS (older versions available at the archive). Please see sample1 and sample2 which show two alternative ways to use Saxon-Forms.

  • Saxon-Forms can be loaded directly with the source document being the XForms application. See sample1.
  • Alternatively, Saxon-Forms can be loaded via a seperate stylsheet by a xsl:call-template or apply-template. See sample2.

Technical Details

Releases

No releases published

Packages

No packages published

Languages