この、SVGコードは、http://www.openspc2.org/~svg/20010904/japan/fonts.html#FontElement似てサンプルとして、記述されているコードそのものですが、
このコードは、そのままでは、IE FF両方で表示することは出来ませんでした。
うまくhtmlに埋め込まれているはずの、inlineSVGをWindows表示させようとすると、拡張子によって表示できたり、表示できなかったりと言う事が往々にして起こります。どんなMIME ヘッダーをつけてやればいいのかよくわからないところもあります。うまく解決できると広い利用方法があるでしょう。
source
<?php
if(!eregi("(MSIE)",$_SERVER["USER_AGENT"])){
header("Content-Type: application/xhtml+xml");
echo '<?xml version="1.0" encoding="UTF-8"?>';
}else{
echo '<?xml version="1.0" encoding="UTF-8"?>';
}
?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<link rel="stylesheet" href="base.css" media="all" />
<title>SVG embedded inline in XHTML</title>
<object id="AdobeSVG" classid="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2"></object>
<?php
echo '<?import namespace="svg" urn="http://www.w3.org/2000/svg" implementation="#AdobeSVG"?>';
?>
</head>
<body>
<div id="common">
<h1>SVGをxhtmlに埋め込みました。</h1>
<p class="bread_crumb"><a href="../../index.html">top</a> > inlineSVG</p>
<p id="address"><a href="mailto:webmaster@tenman.info">mail</a>|<a href="/">Site Top</a></p>
<?php
$message = file_get_contents("message.txt");
$data = file_get_contents("import.svg");
echo<<<document
<div>
<div style="width:300px;float:left;">$data</div>$message</div>
document;
?>
</div>
</body>
</html>
import.svg
<svg:svg width="400px" height="300px" version="1.1"
xmlns = 'http://www.w3.org/2000/svg'>
<svg:defs>
<style type="text/css">
<![CDATA[
@font-face {
font-family: 'Super Sans';
font-weight: normal;
font-style: italic;
src: url("myfont.svg#Font2") format(svg)
}
]]>
</style>
</svg:defs>
<svg:text x="100" y="100"
style="font-family: 'Super Sans'; font-weight:normal;
font-style: italic">Text using referenced font</svg:text>
</svg:svg>