demo:addresses() as item()*
List all addresses and return them as XML.
demo:create-or-edit-address($content as node()*) as item()*
Update an existing address or store a new one. The address XML is read from the request body.
$content* | $content* |
demo:delete-address($id as xs:string*) as item()*
Delete an address identified by its uuid.
$id* | $id* |
demo:get-address($id as xs:string*) as item()*
Retrieve an address identified by uuid.
$id* | $id* |
demo:search-addresses($query as xs:string*, $field as xs:string*) as item()*
Search addresses using a given field and a (lucene) query string.
$query* | $query* |
$field* | $field* |