<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>SVG embedded inline in XHTML</title>
      <style type="text/css">
          mycircle {
    xblbinding: url('#circlebinding');
}
          mytext {
    xblbinding: url('#textbinding');
}
          </style>
  </head>
  <body>
    <h1>Binding SVG graphics using simplified XBL</h1>
      <bindings xmlns="http://www.mozilla.org/xbl">
          <binding id="circlebinding">
              <template>
                      <svg xmlns="http://www.w3.org/2000/svg" width="300" height="200" >
                          <circle cx="150" cy="100" r="70" style="color:red;"/>
                          <circle cx="150" cy="100" r="50" style="color:blue;"/>
                          <circle cx="150" cy="100" r="20" style="color:white;"/>
                        </svg>
                  </template>
          </binding>
          <binding id="textbinding">
              <template>
					<span xmlns="http://www.w3.org/1999/xhtml" style="font-size:13pt;background-color:blue;color:white;">
                        This text comes from XBL template.
                        </span>
                  </template>
          </binding>
      </bindings>
	<div class="tests">
        	<mycircle xmlns=""/>XHTML
        	<mycircle xmlns=""/>XHTML
        	<mycircle xmlns=""/>XHTML
        	<mycircle xmlns=""/>XHTML
        </div>
      <div class="tests">
          	<mytext xmlns=""/> XHTML inline
          	<mytext xmlns=""/> XHTML inline
          	<mytext xmlns=""/> XHTML inline
          	<mytext xmlns=""/> XHTML inline
          	<mytext xmlns=""/> XHTML inline
          	<mytext xmlns=""/> XHTML inline
          	<mytext xmlns=""/> XHTML inline
          	<mytext xmlns=""/> XHTML inline
          	<mytext xmlns=""/> XHTML inline
          </div>
	<div class="tests">
        	<mycircle xmlns=""/>XHTML
        	<mycircle xmlns=""/>XHTML
        	<mycircle xmlns=""/>XHTML
        	<mycircle xmlns=""/>XHTML
        </div>
	
  </body>
</html>
	