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
bea8ac2f
Commit
bea8ac2f
authored
Jul 04, 2018
by
MRodz
Committed by
mrodzis
Feb 05, 2019
Browse files
Add restriction for text()
parent
5dd52e7a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
modules/fontane/tei2teisimple.xqm
View file @
bea8ac2f
...
...
@@ -69,7 +69,13 @@ declare function fontaneSimple:transform($nodes as node()*) as node()* {
return
typeswitch ($node)
case text() return
simpleHelpers:prepare-text($node)
if($node/ancestor::tei:line
or $node/ancestor::tei:figDesc
or $node/ancestor::tei:desc[@type = "edited_text"]
or $node/ancestor::tei:note[@type = "editorial"]) then
simpleHelpers:prepare-text($node)
else
()
case element(tei:lb) return
if($node[@break = "keepHyphen"]) then
...
...
modules/fontane/teisimple-test.xql
View file @
bea8ac2f
This diff is collapsed.
Click to expand it.
resources/xml/tei-simple.xml
View file @
bea8ac2f
This diff is collapsed.
Click to expand it.
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