19 Nov
2020
19 Nov
'20
10:49 a.m.
Hi Nicholas, A good start is to: 1. download the full distribution of BaseX 2. run basexhttp, 3. visit http://localhost:8984, 4. open the BaseX GUI and look at the files in the webapp directory. You can modify some of these files and see what your browser does. Cheers, Christian On Tue, Nov 17, 2020 at 9:36 PM Nicholas <saunders.nicholas@gmail.com> wrote:
For this example:
module namespace page = 'http://basex.org/examples/web-page';
declare %rest:path("hello/{$who}") %rest:GET function page:hello($who) { <response> <title>Hello { $who }!</title> </response>
};
https://docs.basex.org/wiki/RESTXQ
where/how is this function stored or saved?
thanks,
Nick