Hi Erik.

Erik Dahlström:
> Why would you need the xlink-prefix in this case? I would suggest this  
> instead:
> 
> a_elem.setAttributeNS("http://www.w3.org/1999/xlink","href","http://www.kevlindev.com";);
> 
> You already say (with the first parameter) that the namespace is XLink, so  
> there is no need to prefix the attribute with "xlink:".

There’s no need for the the prefix in the nodeName for the 'a' element
to work, but it’s better to include it in case the element is serialised
later on.  (At least, that’s what I tell myself at night. :) (And of
course that assumes that there is an appropriate namespace declaration
attribute in the document, too.))

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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