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

retour au texte

parent 94ff6422
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -203,12 +203,13 @@ declare %private function max.plugin.ead_search:formatSearchResult($c as node(),
        (: let $titles := for $i in $c/ancestor-or-self::*:c
            return (string-join($i/*:did/*:unitid/text(),''))
        return string-join($titles, " ▸ ") :)
        let $dbPath := max.config:getProjectDBPath($project)
        for $i in $c
        let $id := $i/self::*:c/@*:id
        let $baseuriXml := base-uri($c)
        let $baseuri := substring-after(base-uri($id),'/')
        let $baseuri := substring-after(base-uri($id),$dbPath)
        let $xslRes := file:parent(file:parent(file:parent(static-base-uri())))||"editions/"||$project||"/ui/xsl/ead/resSearch.xsl"
        let $req := <div><a href='{max.config:getBaseURI()}{$baseuri}/{$id}.html'>{$i/ancestor-or-self::*:c/*:did}</a><section>{$i/ancestor-or-self::*:c/*:did}</section></div>
        let $req := <div><a href='{max.config:getBaseURI()}{$project}{$baseuri}/{$id}.html'>{$i/ancestor-or-self::*:c/*:did}</a><section>{$i/ancestor-or-self::*:c/*:did}</section></div>
        return 
            if (file:exists($xslRes)) 
            then 
@@ -506,7 +507,7 @@ Clés d'indexation en Pleade
|Lieu                       |geogname   |@role                 |@normal                     |
|Fonction                   |occupation |ø                     |@normal                     |
|Nom                        |name       |@role                 |@normal                     |
|Personne                   |persname    |@role                 |@normal                     |
|Personne                   |pername    |@role                 |@normal                     |
|Sujet                      |subject    |ø                     |@normal                     |
|Titre                      |title      |@type                 |@normal                     |
|:--------------------------|:----------|:---------------------|:---------------------------|