Commit aa8ce667 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

remove namespaces to prepare html (not chtml) documents with svg support

parent fdfd59e0
......@@ -2378,18 +2378,21 @@ else
else
if(contains($node//tei:figDesc/tei:ref/text(), "einfache Absatzlinie (hin und her)"))
then
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 451 46" class="absatzlinie--hin-und-her">
{$node/@xml:id ! attribute id { string(.) },
element svg:path {
attribute id {"ahihe"},
attribute fill {"none"},
attribute stroke {"darkslategrey"},
attribute stroke-width {"1"},
attribute d {"M 440.67,14.67 " ||
"C 440.67,14.67 25.33,2.00 7.33,21.33 " ||
"11.33,28.00 422.00,11.33 414.67,20.00 " ||
"392.67,8.67 32.00,36.67 32.00,36.67" }}}
</svg>
element svg {
attribute viewBox {"0 0 451 46"},
attribute class {"absatzlinie--hin-und-her"},
$node/@xml:id ! attribute id { string(.) },
element path {
attribute id {"ahihe"},
attribute fill {"none"},
attribute stroke {"darkslategrey"},
attribute stroke-width {"1"},
attribute d {"M 440.67,14.67 " ||
"C 440.67,14.67 25.33,2.00 7.33,21.33 " ||
"11.33,28.00 422.00,11.33 414.67,20.00 " ||
"392.67,8.67 32.00,36.67 32.00,36.67" }
}
}
else
if(contains($node//tei:figDesc/tei:ref/text(), "horizontale Halbschleife von links nach rechts unten"))
then (
......
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