Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.
/ enketo-xslt Public archive

XSLT sheets used to transform OpenRosa-flavoured XForms into a HTML form and XML instance.

License

Notifications You must be signed in to change notification settings

enketo/enketo-xslt

Repository files navigation

Enketo XSLT

npm version Build Status

XSLT sheets used to transform OpenRosa-flavoured XForms into an HTML form and XML instance.

This repo was moved inside enketo-transformer in December 2019. It is no longer under development as a separate module.

Use with npm

npm install enketo-xslt --save
var sheets = require('enketo-xslt');

console.log('form sheet', sheets.xslForm);
console.log('model sheet', sheets.xslModel);

Use without npm and in any programming language.

Use as git submodule and read the two .xsl files as required. Ignore index.js.

License

See license document.

In addition, any product that uses enketo-xslt is required to have a "Powered by Enketo" footer, according to the specifications below, on all screens in which the output of enketo-xslt, or parts thereof, are used, unless explicity exempted from this requirement by Enketo LLC in writing. Partners and sponsors of the Enketo Project, listed on https://enketo.org/#about and on https://github.com/enketo/enketo-core#sponsors are exempted from this requirements and so are contributors listed in package.json.

The aim of this requirement is to force adopters to give something back to the Enketo project, by at least spreading the word and thereby encouraging further adoption.

Specifications:

  1. The word "Enketo" is displayed using Enketo's logo.
  2. The minimum font-size of "Powered by" is 12 points.
  3. The minimum height of the Enketo logo matches the font-size used.
  4. The Enketo logo is hyperlinked to https://enketo.org

Example:

Powered by

Change Log

See change log

About

XSLT sheets used to transform OpenRosa-flavoured XForms into a HTML form and XML instance.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •