Vernari-Corami wrote: > Of course SVG has its own ns, but it is the default's one (at least in many common > files)... > Now, XML speaking, why can't I create my own nodes via "createElement" assuming the > default ns?
Because createElement() knows nothing about your default namespace. In fact the DOM in general doesn't react to the default namespace at all. So given that you can't assume a default namespace, not giving one means you don't get one. Try it yourself: create an element with createElement() and look at its namespaceURI field, it'll be null. -- Robin Berjon ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/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/

