Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
393f548d
Commit
393f548d
authored
Aug 14, 2018
by
Mathias Goebel
Browse files
new api for rendered entities
parent
053d02c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/index-api.xqm
View file @
393f548d
...
...
@@ -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]
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment