Commit 4ea337aa authored by MRodz's avatar MRodz Committed by mrodzis
Browse files

Add 3.21.23 authorial notes

parent 67ac6a12
......@@ -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)
};
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment