Re: dom and svg

Andrew,
I think you are looking at examples which utilize a DOM API which existed
(probably still exists for the time being) in the Adobe plugin before the
SVG DOM started taking shape.

The SVG spec now has has a more direct way of finding the document object.
The latest public draft describes this in:

    http://www.w3.org/TR/1999/WD-SVG-19991203/struct.html#GetSVGDocumentMethod

There is likely to be a minor bit of repackaging in this area, but the
above URL will certainly give you the general idea.

According to the the notes on the Adobe web site, the plugin supports the
getSVGDocument() method call on the <embed> tag. This is likely to be close
to what the spec will call for ultimately.

Jon Ferraiolo
SVG Editor
Adobe Systems Incorporated

At 08:56 AM 2/24/00 -0800, Andrew Wooldridge wrote:
>I noticed that the adobe plugin has a pretty round-about way of 
>getting the current "document" element.  It has an onload handler, 
>which then examines the event triggered and get's the originator, 
>which is the document.
>
>Could there be some mention of DOM specifics for SVG? Like how to 
>make reference to the current SVG document?
> 

Received on Thursday, 24 February 2000 20:45:47 UTC