name Address list loaded.Address saved.An error occurred.Address deleted.An error occurred.

# XForms Demo

## Manage Addresses

Name name Street street City city | Filter displayed addresses by entering a few characters contained in a name, street or city. | Clear

Name | Street | City

Delete New Name:Street:City:Save

A simple XForms application which talks to a RESTXQ service defining the following endpoints:

- GET /address
- GET /address/{$id}
- PUT /address
- DELETE /address/{$id}
- GET /search?query=&field=

It uses a number of XForms submissions to retrieve data, search, save or delete entries.

The XForms code is in demo.html. The RestXQ endpoints are defined in restxq-demo.xql.

The form can transparently switch between two RestXQ implementations:

Java RestXQ | Default: RestXQ implemented in Java
RestXQ XQuery | RestXQ implemented in XQuery