asp+svg的问题
我想用asp动态生成svg文件,然后在网页中显示出来,但是现在嵌入的asp文件就是无法显示图形,不知是为什么,请各位高手帮我看看。谢谢!
graph.html文件:
<html>
<body>
<EMBED WIDTH='300' HEIGHT='300' SRC='line.asp' TYPE='image/svg+xml'>
</body>
</html>
line.asp文件:
<%
response.ContentType = "image/svg+xml"
response.write "<?xml version=""1.0"" standalone=""no""?>"
response.write "<!DOCTYPE svg PUBLIC ""-//W3C//DTD SVG 20000303 Stylable//EN"" ""http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd"">"
response.write "<svg width=""110px"" height=""110px"">"
response.write "<circle cx=""55"" cy=""55"" r=""50"" style=""fill:#0000FF;opacity:1;""/>"
response.write "</svg>"
%>