Commit e8fab1d6 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

new function for wiki-based editing of index.html

parent 99d74486
......@@ -6,6 +6,11 @@ import module namespace config="" at "../config
declare namespace http="";
declare namespace xhtml="";
declare function wiki:include($node as node(), $model as map(*), $id as xs:string)
wiki:dokuwiki($node, $model, $id)/*
declare function wiki:dokuwiki($node as node(), $model as map(*), $id as xs:string) as node()* {
(: replace id not in whitelist :)
let $id:= if($id = doc('/db/sade-projects/textgrid/data/xml/data/2shfj.xml')//text()) then $id else 'gesamtdokumentation'
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