<!--Spine Page-->
<div class="Spine">
<!--SVG codes start here-->
<svg height="300" xmlns="http://www.w3.org/2000/svg">
<text x="0" y="0" transform="rotate(90)">Neue Genfer Übersetzung</text>
</svg>
<!--SVG codes end here-->
<h2>Alternate Title Goes Here</h2>
<p class="Language_Name">German</p>
</div>
This code produces the rotated text as desired for the book spine. But it does not validate as XHTML strict.
How do I embed this SVG inside of XHTML?
So far I have found that <embed> is not valid.
<html xmlns:svg="http://www.w3.org/2000/svg"> Is not valid.
Both <object> and <iFrame> are listed as possibilities but I don't see how it applies to <text>.
<div class="Spine">
<!--SVG codes start here-->
<svg height="300" xmlns="http://www.w3.org/2000/svg">
<text x="0" y="0" transform="rotate(90)">Neue Genfer Übersetzung</text>
</svg>
<!--SVG codes end here-->
<h2>Alternate Title Goes Here</h2>
<p class="Language_Name">German</p>
</div>
This code produces the rotated text as desired for the book spine. But it does not validate as XHTML strict.
How do I embed this SVG inside of XHTML?
So far I have found that <embed> is not valid.
<html xmlns:svg="http://www.w3.org/2000/svg"> Is not valid.
Both <object> and <iFrame> are listed as possibilities but I don't see how it applies to <text>.
Jim Albright
Wycliffe Bible Translators