Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
de8bbb7b
Commit
de8bbb7b
authored
Jul 16, 2018
by
Michelle Rodzis
Committed by
mrodzis
Feb 05, 2019
Browse files
Fix bug in covers
parent
097f9e87
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/fontane/teisimpleprint/tei2teisimple.xqm
View file @
de8bbb7b
...
...
@@ -277,7 +277,9 @@ declare function fontaneSimple:transform($nodes as node()*) as node()* {
case element(tei:surface) return
if(matches($node/@n, "cover")) then
fontaneSimple:make-pb-with-type($node/@n)
(fontaneSimple:make-pb-with-type($node/@n),
fontaneSimple:transform($node/node()))
else if(simpleHelpers:is-page($node)
and $node/@type = "clipping") then
(fontaneSimple:make-pb($node),
...
...
@@ -286,14 +288,17 @@ declare function fontaneSimple:transform($nodes as node()*) as node()* {
fontaneSimple:transform($node/node())
else
()))
else if(simpleHelpers:is-page($node)) then
(fontaneSimple:make-pb($node),
fontaneSimple:transform($node/node()))
else if($node/@type = "label" and
(contains($node/@subtype, "Fontane")
or contains($node/@subtype, "Hersteller"))
) then
fontaneSimple:make-div($node)
else
()
...
...
resources/xml/tei-simple-pre.xml
View file @
de8bbb7b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment