 |
 |
| What is
Whippet: |
Whippet can generate data input forms, either from schema
files or directly from xml instance documents (by first inferring a schema
from the instance, using Castor).
Form widgets are generated according to user-editable logical rules implemented
using Drools. For more
information and source code, see the Jalama
Project website
Currently, Whippet supports *simple* schema files that do not contain references.
Example schema and their corresponding instance documents may be downloaded
here.
|
| How to Use
Whippet: |
[1] select the document(s) to be used as the basis for form
generation:
- a w3c xml schema document and a valid xml instance
document
- results in generation of a form from the
schema, populated with the instance data, ready for editing.
- an xml instance document (no schema)
- results in the inference of a schema from
the xml instance, and the generation of a form from this schema, populated
with the instance data, to allow editing.
- a w3c xml schema document (no instance)
- results in generation of a form from the
schema, ready for new data to be entered, and a new instance document
to be created.
[2] hit "generate form" to create your custom editor
[3] use the editor to make changes.
[4] hit "finish" to display the new instance document.
|
| w3c xml
schema: |
|
xml
instance: |
|
| |
|
| |
|