Commit f998256a authored by Anne Goloubkoff-Duponchel's avatar Anne Goloubkoff-Duponchel
Browse files

plugin pour affichage eadheader et archdesc

parent e0021f1e
Loading
Loading
Loading
Loading

plugins/metadata

0 → 120000
+1 −0
Original line number Diff line number Diff line
../../../max-plugins/metadata
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -13,11 +13,11 @@ declare function local:buildEADDocumentTOC($projectId, $docPath){
    let $target := doc($dbPath)

    return
        <nav>
        <nav id="{$target/*:ead//*:eadheader/*:eadid}">
            {
                for $c in $target/*:ead/*:archdesc/*:dsc
                return
                    <details id="details_{$c/ancestor::*:archdesc/@level}" open="">
                    <details id="details_{$c/ancestor::*:archdesc/@level}" level="archdesc" open="">
                        <summary>
                        <a href="{$baseURI}{$projectId}/{$docPath}/{$c/ancestor::*:archdesc/@id}.html">
                            {$c/ancestor::*:archdesc/*:did/node()}