My question about the namespaces for attributes still holds though.
Thanks again Thomas.
Ian
From: Thomas DeWeese <[EMAIL PROTECTED]> Reply-To: "Batik Users" <[EMAIL PROTECTED]> To: Batik Users <[EMAIL PROTECTED]> Subject: Re: filter element problem Date: Tue, 02 Sep 2003 07:39:17 -0400
Ian Ross wrote:Hi
I use the following to create a bevel effect for a button. The problem is that the button shows up as a black box on the svg canvas. However when i view the svg file created, on IE, it appears the way i want it to. Can anyone spot any problems?
Any help will be greatly appreciated. thanks in advance.
Ian
In the code below 'root' refers to the svg element and is passed to this method as an argument.
e.setAttributeNS(xlinkNS, "style", "fill:rgb(0,128,128);stroke:rgb(0,0,0);stroke-width:1;filter:url(#Bevel)");
Hi Ian,
I think this is a typo, the 'style' attribute is _not_ in the xlink namespace, it is in the 'null' namespace.
root.appendChild(e);
_________________________________________________________________
Get less junk mail with ninemsn Premium. Click here http://ninemsn.com.au/premium/landing.asp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]