Hi, Samy-
Samuel Dagan wrote (on 12/16/08 3:27 PM):
>
> Just by a superficial look on your code, you better change:
> fill = symbole.getAttribute("fill");
> with :
> fill = symbole.getAttributeNS(null,"fill");
> (Look at http://jwatt.org/svg/authoring/ )
>
> Hope that this will do the job.
Having been guilty of propagating this myth myself, I have to state that
this is not at all important, and is not the cause of any error. If you
aren't using namespaces (like XLink), you don't need to use
getAttributeNS... getAttribute works just as well with the null
namespace, so the code is correct as it stands.
Julie, I would recommend that you strip down the code to a minimal test
case that demonstrates exactly what the error is. You can you the
Firefox error console, or a debugging extension, to figure out where
that is.
Regards-
-Doug
------------------------------------
-----
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/