XSLTForms

From Wikibooks, open books for an open world
Jump to: navigation, search

Welcome to the XSLTForms Wikibook! XSLTForms is an open source client-side implementation of XForms which is a World Wide Web Consortium recommendation for creating web forms and web applications. XSLTForms is developed by Alain Couthures agenceXML at Bordeaux, France.

Introduction[edit]

  1. Introduction - About this book and overview of the technology.
  2. Background - A brief history and motivation for the XSLTForms project.
  3. Benefits - Why use XSLTForms?
  4. Applications - Who use XSLTForms?
  5. Installing and Testing - How to install XSLTForms.
  6. Naming Conventions - Naming standards used throughout this book.

Beginning Examples[edit]

These examples are for people who are just getting started.

  1. HelloWorld - A simple test to see if XSLTForms is installed correctly.

Using XSLTForms[edit]

Altough XSLTForms can be used without any server processing, you can find here information specific to your Web Server Technology:

  1. Generic HTTP Server - Works for any WebServer.
  2. ASP.NET - Inserting XForms into Asp.Net WebForms.
  3. eXist-db - Using XSLTForms with eXist-db

Solution to Common Problems[edit]

  1. Instance Loading - Errors messages related to instances appears when loading a Form
  2. Form not correctly rendered - Forms not correctly shown in browsers
  3. Triggers not working - Form is correctly displayed, but submit and trigger buttons don't work

Status[edit]

  1. XForms 1.1
  2. XForms 1.2
    1. XForms 1.2/"show" attribute
    2. XForms 1.2/"dialog" element
    3. XForms 1.2/XPath 2.0 Functions
  3. XSLTForms only Extensions
    1. Configuration:
      1. XSLT-parameters:
        1. baseuri
        2. xsltforms_caller
        3. xsltforms_config
        4. xsltforms_debug
        5. xsltforms_lang
      2. Configurations-template file config_LANG.xsl
      3. Processing-Instructions:
        1. <?xsltforms-options?>
        2. <?css-conversion?>
    2. New Elements
      1. <xf:tree>
    3. New Functions:
      1. is-valid()
      2. transform()
      3. serialize()
    4. User-Defined Functions
    5. Arithmetic expressions
    6. Objects in the javascript: pseudo-URL in xf:load/xf:resource@value
  4. CSS - Styling XForms controls using Cascading Style Sheets.
  5. Known Restrictions
  6. Performances

Documentation for contributors[edit]

  1. XSLT 1.0 stylesheet - Templates.
  2. Javascript - Classes and Functions.