--- In [email protected], "Robert Longson" <longsonr@...> wrote:
>
> > Me thinks W3C is attempting to deprecate xlink:href and allow href to also
> > be used.
>
> Yes, but that's not where you're going wrong.
>
> href is in the xlink namespace and you set it as
>
> setAttributeNS(<xlinkns>, "href", <value>)
>
> you don't need to put xlink in twice in two different arguments. You get it
> right with the createElementNS where you write it as
> createElementNS(<svgNS>, <element>), you don't write createElementNS(<svgNS>,
> "svg:g") do you?
>
> Best regards
>
> Robert.
>
Yes, I replaced the setAttributeNS(...) with setAttribute("href",myFile) and
prevented the nested namespaces.
Thanks,
Francis
------------------------------------
-----
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:
[email protected]
[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/