Loading rxq/util.xqm +2 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ import module namespace max.config = 'pddn/max/config' at 'config.xqm'; import module namespace max.cons = 'pddn/max/cons' at 'cons.xqm'; import module namespace fop = 'org.basex.modules.fop.FOP'; declare namespace tei="http://www.tei-c.org/ns/1.0"; declare namespace ead="urn:isbn:1-931666-22-9"; (: : Returns binary-file :) Loading Loading @@ -151,6 +151,7 @@ declare function max.util:list-db-resources($projectId, $dbName, $baseURI, $xmln for $d in db:dir($dbName, $dir) let $subDirs := max.util:list-db-resources($projectId, $dbName, $baseURI, $xmlns,$dir||'/'||$d) let $depth := count(string-to-codepoints($dir)[.=string-to-codepoints('/')]) order by $d/text() return let $fullPath := substring-after($dir || '/' || $d/text(),'/') return Loading Loading
rxq/util.xqm +2 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ import module namespace max.config = 'pddn/max/config' at 'config.xqm'; import module namespace max.cons = 'pddn/max/cons' at 'cons.xqm'; import module namespace fop = 'org.basex.modules.fop.FOP'; declare namespace tei="http://www.tei-c.org/ns/1.0"; declare namespace ead="urn:isbn:1-931666-22-9"; (: : Returns binary-file :) Loading Loading @@ -151,6 +151,7 @@ declare function max.util:list-db-resources($projectId, $dbName, $baseURI, $xmln for $d in db:dir($dbName, $dir) let $subDirs := max.util:list-db-resources($projectId, $dbName, $baseURI, $xmlns,$dir||'/'||$d) let $depth := count(string-to-codepoints($dir)[.=string-to-codepoints('/')]) order by $d/text() return let $fullPath := substring-after($dir || '/' || $d/text(),'/') return Loading