Commit 393f548d authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

new api for rendered entities

parent 053d02c4
......@@ -166,3 +166,12 @@ return
return
$list/local-name() || "-" || string($list/@type)
};
declare
%rest:GET
%rest:path("fontane/index/entity/{$id}")
%output:method("html")
function index:rendered-entity($id as xs:string)
as element(xhtml:li)? {
doc("/db/sade-projects/textgrid/data/xml/xhtml/index.xml")//xhtml:li[@id = $id]
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment