Skip to content

Commit

Permalink
broaden selector for verse
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Flick committed Nov 4, 2024
1 parent 0a93a95 commit 59ae568
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/teipb/odd/parzival-verse.odd
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<body>
<schemaSpec start="TEI teiCorpus" ident="parzival-verse" source="parzival.odd"> <elementSpec ident="l" mode="change">
<model behaviour="block" cssClass="line" useSourceRendition="true">
<param name="id" value="substring-after(@xml:id,'_')"/>
<param name="id" value="(substring-after(@xml:id,'_'),substring-after(@n,' '))"/>
<param name="content" value="."/>
<pb:template xmlns="" xml:space="preserve"><span class="verse" data-verse="[[id]]">[[id]]</span><span class="content">[[content]]</span></pb:template>
</model>
Expand Down
2 changes: 1 addition & 1 deletion src/teipb/transform/parzival-verse-epub.xql
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ declare function model:apply($config as map(*), $input as node()*) {
case element(l) return
let $params :=
map {
"id": substring-after(@xml:id,'_'),
"id": (substring-after(@xml:id,'_'),substring-after(@n,' ')),
"content": .
}

Expand Down
2 changes: 1 addition & 1 deletion src/teipb/transform/parzival-verse-fo.xql
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ declare function model:apply($config as map(*), $input as node()*) {
case element(l) return
let $params :=
map {
"id": substring-after(@xml:id,'_'),
"id": (substring-after(@xml:id,'_'),substring-after(@n,' ')),
"content": .
}

Expand Down
2 changes: 1 addition & 1 deletion src/teipb/transform/parzival-verse-latex.xql
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ declare function model:apply($config as map(*), $input as node()*) {
case element(l) return
let $params :=
map {
"id": substring-after(@xml:id,'_'),
"id": (substring-after(@xml:id,'_'),substring-after(@n,' ')),
"content": .
}

Expand Down
2 changes: 1 addition & 1 deletion src/teipb/transform/parzival-verse-print.xql
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ declare function model:apply($config as map(*), $input as node()*) {
case element(l) return
let $params :=
map {
"id": substring-after(@xml:id,'_'),
"id": (substring-after(@xml:id,'_'),substring-after(@n,' ')),
"content": .
}

Expand Down
2 changes: 1 addition & 1 deletion src/teipb/transform/parzival-verse-web.xql
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ declare function model:apply($config as map(*), $input as node()*) {
case element(l) return
let $params :=
map {
"id": substring-after(@xml:id,'_'),
"id": (substring-after(@xml:id,'_'),substring-after(@n,' ')),
"content": .
}

Expand Down

0 comments on commit 59ae568

Please sign in to comment.