Giter Site home page Giter Site logo

enketo-xslt-transformer-php's Introduction

enketo-xslt-transformer-php Build Status

Enketo XForm -> HTML Form transformer using XSLT

Not meant for production. Just a simple demo that can be used for development on enketo-core. See this beauty live at http://xslt-dev.enketo.org/. Again, don't use for production. It is slow, unsafe, and doesn't handle errors...

###Related Projects

###Installation

  1. apt-get install php5 php5-xsl git
  2. clone this repo git clone https://github.com/MartijnR/enketo-xslt-transformer-php
  3. git submodule update --init
  4. use the built-in webserver for development after installing node.js, npm and running npm install and grunt server
  5. or use e.g. Apache or Nginx
  6. run tests with grunt test
  7. simply drop an XForm in test/form to include all tests on that form!

###Usage

There are three ways to provide an XForm source:

  1. provide queryparameter xform with a url to the source
  2. enter/drag a file in the page input
  3. POST a XForm file as the xform parameter (API call)

###Not included

  • security
  • error handling
  • XSLT feedback messages
  • fix for media labels src link
  • fix for lang attributes (to pass HTML validation - not very important)
  • fix for adding instanceID node

enketo-xslt-transformer-php's People

Contributors

martijnr avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.