Hello

I'm trying to figure out how to use an aspx page to render SVG to 
the client.
In a new aspx page (in the code behind page) i have enterd the 
following.

Protected Sub Page_Load(ByVal sender As Object, ByVal e As 
System.EventArgs) Handles Me.Load
        Response.ContentType = "image/svg+xml"
        Response.Write("<?xml version='1.0' encoding='ISO-8859-1'?>")
        Response.Write("<svg xmlns='http://www.w3.org/2000/svg' 
version='1.1'>")
        Response.Write("<text x='100' y='100'>Hello World!</text>")
        Response.Write("</svg>")
        Response.End()
 End Sub

This works fine i FF and Opera but i IE6 i see nothing and when i 
try to view the sourcecode i get an alert that the XML-sourcefile is 
not aviable for viewing.

/Kristian



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to