This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

XSL SVG?


Hi everyone,

I'm trying to generate a simple SVG shape from a XSL page, 
if I a embed the external SVG picture it works fine but 
when I try to generate the shape from the xsl file I just 
can't get it to work... How can I solve this? The final 
output is HTML generated through ASP, here is the relevant 
code from the XSL file:

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
 xmlns:svg="http://www.w3.org/2000/svg";> 
<xsl:template match="/">
<HTML>
<HEAD/>
<BODY>
<svg:svg width="300" height="300">
 <line x1="127" y1="65" x2="127" y2="200" style="stroke:rgb
(0,0,0);stroke-width:2"/>
</svg:svg>
...

Thanks in advance,
Richard 
---------------------------
Richard Hallgren
richard.hallgren@home.se
+44 (0) 2890915132
+44 (0) 7816326858


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]