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

ajout d'attribut pour différencier les niveaux des différents c imbriqués

parent 96bb1ed1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ declare function local:buildEADDocumentTOC($projectId, $docPath){
            {
                for $c in $target/*:ead/*:archdesc/*:dsc
                return
                    <details id="details_{$c/@id}" open="">
                    <details id="details_{$c/ancestor::*:archdesc/@level}" open="">
                        <summary>
                        <a href="{$baseURI}{$projectId}/{$docPath}/{$c/ancestor::*:archdesc/@id}.html">
                            {$c/ancestor::*:archdesc/*:did/node()}
@@ -35,7 +35,7 @@ declare function local:childrenToc($component, $projectId, $docPath){
    return
       if($c/*:c)
        then
        <details  id="details_{$c/@id}">
        <details  id="details_{$c/@id}" otherlevel="{$c/@otherlevel}">
            <summary>
                <a href="{$baseURI}{$projectId}/{$docPath}/{$c/@id}.html">
                    {$c/@id}