Skip to content

Commit

Permalink
ajout traitement lieu et éditeur
Browse files Browse the repository at this point in the history
  • Loading branch information
emchateau committed Jul 27, 2020
1 parent 62c47b6 commit e7785f4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions mappings/tei2html.xqm
Expand Up @@ -94,6 +94,8 @@ function dispatch($node as node()*, $options as map(*)) as item()* {
case element(tei:byline) return getByline($node, $options)
case element(tei:docImprint) return getDocImprint($node, $options)
case element(tei:imprimatur) return getImprimatur($node, $options)
case element(tei:publisher) return getPublisher($node, $options)
case element(tei:pubPlace) return getPubPlace($node, $options)
default return passthru($node, $options)
};

Expand Down Expand Up @@ -257,6 +259,14 @@ declare function getDate($node, $options as map(*)) {
<span class='date'>{ passthru($node, $options)}</span>
};

declare function getPublisher($node, $options) {
<span class="publisher">{ passthru($node, $options)}</span>
};

declare function getPubPlace($node, $options) {
<span class="pubPlace">{ passthru($node, $options)}</span>
};

(:~
: ~:~:~:~:~:~:~:~:~
: tei biblio
Expand Down

0 comments on commit e7785f4

Please sign in to comment.