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

harder tble rendering

parent 72a3bb41
......@@ -40,8 +40,8 @@
<property name="fontane.sadeproject.git" value="https://gitlab.gwdg.de/fontane-notizbuecher/SADE-Project.git"/>
<property name="fontane.sadeproject.git.branch" value="develop"/>
<property name="fontane.sadeproject.dest" value="${build.dir}/fontane"/>
<property name="fontane.sadeproject.target" value="full"/>
<!-- ^ fastdeploy | full -->
<property name="fontane.sadeproject.target" value="fastdeploy"/>
<!-- ^ valid parameter is "fastdeploy", anything else triggers a complete import -->
<!-- build with rdf indexer? -->
<property name="rdf" value="false"/>
......
......@@ -1806,11 +1806,10 @@ or
)
};
declare function fontaneTransfo:newestTBLELink($uri as xs:string, $id as xs:string) as element(tei:link) {
declare function fontaneTransfo:newestTBLELink($uri as xs:string, $id as xs:string) as node() {
let $links := collection('/db/sade-projects/textgrid/data/xml/tile')
//tei:link
[matches(@targets, $uri || "\.")]
[matches(@targets, "#" || $id || "$" )]
[matches(@targets, $uri || "\.\d+#" || $id)]
[starts-with(@targets, "#shape")]
let $maxBase := max( $links ! ./base-uri() )
......
Supports Markdown
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