Pete d'Oronzio schrieb:

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


it seems the mimeType is correct, might be an error on my side, but that 
part works now :-)

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


this also shows how to access svgs window object.
all functions and variables defined in the svg are members of that 
window object.
as for communicating SVG to HTML, you are right, but your figured that 
out yourself i see.

>
> > 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
>
>
>
> -----
> 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
>
>     *  Visit your group "svg-developers
>       <http://groups.yahoo.com/group/svg-developers>" on the web.
>        
>     *  To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
>       <mailto:[EMAIL PROTECTED]>
>        
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>


-- 
if this information was usefull, please try to help someone else !
http://www.treebuilder.de



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/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