Hi Holger,

Thanks for the info.  I'm implementing some of it right now.  However, I'm
not sure about all of it:

> 1. please correct the MimeType ! the svg file is send as 
> text/html but should be send as image/svg+xml 

Where is this done?  Not in the SVG, right?  I have a server application
that I produce svg from.  It sets the correct MimeType.  How do I do this
when, as in this example, I'm serving up from IIS?

> 2. you dont 
> declare namespaces, in your root svg element, you have to 
> include the namespaces for svg and xlink e.g.:
>    <svg xmlns="http://www.w3.org/2000/svg"; 
> xmlns:xlink="http://www.w3.org/1999/xlink"; > 

Indeed.  This was done some type ago and when I updated it, I didn't notice
it was missing.

> 3. you use 
> getters and setters that are against the spec, like 
> "getTarget" and "getStyle" ( should  just be "target" and "style" )

I didn't know that.  Thanks!

> here is a nicely commented example showing how to communicate 
> from html to svg, so that it works across different implementations:
> http://jwatt.org/svg/demos/scripting-across-embed.html

I see this as a way to access elements in the svg from within the html.
Does it provide access to call the svg's JS functions?  How about access
from the SVG to HTML JS?  

> to communicate from svg to html, you use parent, unfortunatly 
> ...

No... I changed that.  I think you are seeing a commented line of JS.  I use
"top" in the only call out of svg.


Thanks *very* much for these insights.  As I mentioned in my original
response, I'd just figured these things out recently, so it's nice to get
them clarified and corrected here.  I'm implementing your suggestions /
corrections into my "real" app now.

-pete



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
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/

<*> 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