Commit 8b052d76 authored by Marie Bisson's avatar Marie Bisson
Browse files

ordonner le plan de classememtn par ordre alphabétique de nom de dossier

parent 36ecd7fa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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
:)
@@ -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