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
aa8ce667
Commit
aa8ce667
authored
Jul 26, 2019
by
Mathias Goebel
Browse files
remove namespaces to prepare html (not chtml) documents with svg support
parent
fdfd59e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/transform.xqm
View file @
aa8ce667
...
...
@@ -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 (
...
...
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