Hi,

I am unsure whether I am using the correct way to specify xml:space attribute 
to 
"preserve" by ECMAScript.

I am currently using 
this.textboxText.setAttributeNS("http://www.w3.org/XML/1998/
namespace","space","preserve");

should it be

this.textboxText.setAttributeNS("http://www.w3.org/XML/1998/
namespace","xml:space","preserve");


At http://www.w3.org/XML/1998/namespace I read that "Note that unlike all other 
XML 
namespaces, both the name and the prefix are specified; i.e., if you want XML 
1.0 
processors to recognize this namespace, you must use the reserved prefix xml:"

Does this mean that I need to say "xml:space" as an attribute name and not just 
"space"?

It seems like MozillaSVG doesn't respect it either way. It just ignores 
multiple subsequent 
spaces.

Thanks for help on this.

Andreas






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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