【发布时间】:2020-10-10 12:18:03
【问题描述】:
更多的是使用问题而不是编程问题,涉及:
BaseX RESTXQ "hello world" example
How do I use RESTXQ with BaseX for a simple web app?
basex/rest - blog complete app
Is there a way to make BaseX serve an HTML document?
当然,分叉博客应用程序很容易。但是,它也有八年的历史了。
文档中的sample 是:
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>
};
这具体保存在哪里?它是添加到BaseX 本身内的数据库中,还是作为文件存在于外部?
【问题讨论】:
标签: xml xpath xquery basex restxq