Jorg Heymans wrote:

>
> Holger Will wrote:
> > p.s.:
> > Peter, please dont use getters and setter,
> > its evt.target.ownerDocument; not getTarget().getOwnerDocument()
> > and text.firstChild; not getFirstChild()
> >
> > they are ASV specific, and only there if you want to use the browser
> > scripting engine in NN4.
> > use the standart methods , to stay compatible to other SVG 
> implementations.
> > thanks!
> >
>
> Just curious, is there a way to write
> el.attributes.getNamedItem("myattr") without getter syntax ?
>
> Jorg

no! for getter and setter functions, that are real functions, e.g. that 
take paramenters, you still use getter and setters.
so its still
getNamedItem("bla")
getElementById("bla")
getAttribute("bla")
setAttribute("bla")
getElementsByTagNameNS("blaNS","bla")
etc.
but use
target not getTarget()
ownerDocument not getOwnerDocument()
clientX not getClientX()
etc.

but note! its still
getBBox() not bBox
getCTM() not cTM

best bet is to check the idl
http://www.w3.org/TR/SVG/idl.html

note also that getNamedItem() is part of the DOM core functions. its 
defined here:
http://www.w3.org/TR/DOM-Level-2-Core/idl-definitions.html

regards
Holger



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