Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
4ea337aa
Commit
4ea337aa
authored
Jun 21, 2018
by
MRodz
Committed by
mrodzis
Feb 05, 2019
Browse files
Add 3.21.23 authorial notes
parent
67ac6a12
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/fontane/teisimple-test.xql
View file @
4ea337aa
...
...
@@ -654,3 +654,14 @@ declare
function teisimple-test:analyze-repetition-marks($node as element(*)) {
fontane-simple:transform($node)
};
(: 3.21.23 NOTES :)
declare
%test:name("Notes")
%test:args("<note xmlns=""http://www.tei-c.org/ns/1.0"" type=""authorial"" subtype=""text""><line style=""margin-left:0.0cm"">Dies iſt nicht richtig;</line></note>")
%test:assertEmpty
function teisimple-test:analyze-notes($node as element(*)) {
fontane-simple:transform($node)
};
modules/fontane/transform2teisimple.xqm
View file @
4ea337aa
...
...
@@ -364,6 +364,12 @@ declare function fontane-simple:transform($nodes as node()*) as node()* {
else
local:keep-element($node)
case element(tei:note) return
if($node/@type = "authorial") then
()
else
fontane-simple:transform($node/node())
case element(tei:figDesc) return
local:keep-element($node)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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