Hi, thanks for the replies, I was indeed forgetting to append rectangle I've created. But I'm still not getting it displayed though with the DOM Viewer I can see it was added, any ideas?
thanks, Tacio On 3/7/07, Tonny Kohar <[EMAIL PROTECTED]> wrote:
Hi, On Wed, 2007-03-07 at 07:59 +0100, Pepping, Florian wrote: > Hi Tacio, > > I don't see any line of code where you are adding the created Element to > your document. Try adding something like this to your code: > root.appendChild(rectangle); > > Than it should work, the rest looks ok. Yup exactly, creating an element does not means adding an element. So after creating element you still need to add that created element into some node eg: root node, g node, etc Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- 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]
