Re: [svg-developers] explaining setAttribute, setAttributeNS and carburetors

2010-10-17 Thread Doug Schepers
Hi, Jacob- Jacob Beard wrote (on 10/17/10 3:59 AM): > "Note: DOM Level 1 methods are namespace ignorant. Therefore, while it > is safe to use these methods when not dealing with namespaces, using > them and the new ones at the same time should be avoided." Thanks for digging that up. I think the

Re: [svg-developers] explaining setAttribute, setAttributeNS and carburetors

2010-10-17 Thread ddailey
Jacob, Doug and Wade, Thanks for your assistance here. It definitely helps! regards David - Original Message - From: Jacob Beard To: svg-developers Sent: Sunday, October 17, 2010 3:59 AM Subject: Re: [svg-developers] explaining setAttribute, setAttributeNS and carburetors

Re: [svg-developers] explaining setAttribute, setAttributeNS and carburetors

2010-10-17 Thread Jacob Beard
On Sun, Oct 17, 2010 at 6:48 AM, Doug Schepers wrote: > But in this case, the only thing to know there is that (for whatever > reason) attributes are generally in the 'null' namespace (*not* in the > SVG or HTML or whatever host-language namespace). I recommend teaching > setAttribute for normal

Re: [svg-developers] explaining setAttribute, setAttributeNS and carburetors

2010-10-16 Thread Doug Schepers
Hi, David- ddailey wrote (on 10/16/10 9:39 PM): > > I know that > R.setAttributeNS(null,"fill", "red")is the proper construction (for SVG > but not HTML), rather than Actually, that works with any XML language, XHTML included (provided it is real XHTML, and not served as text/html). >

Re: [svg-developers] explaining setAttribute, setAttributeNS and carburetors

2010-10-16 Thread G. Wade Johnson
Hi David, Let me start by saying that I don't have a definitive answer on this, but I do have some vague recollections that might help. On Sat, 16 Oct 2010 21:39:39 -0400 "ddailey" wrote: > I don't really understand carburetors, but I have a vague idea that > they control the richness of the fu

[svg-developers] explaining setAttribute, setAttributeNS and carburetors

2010-10-16 Thread ddailey
I don't really understand carburetors, but I have a vague idea that they control the richness of the fuel mixture so as to calibrate the rate of combustion in the engine -- for me, the following issue is similar. Perhaps you can help. I'm trying to explain how to do a wee bit of DOM scripting t