On Friday 14 December 2001 10:13, you wrote:
> Vincent,
>
> Thanks but how do i access d element of a particular path
> because when I try to use the method getAttributeNS(svgNS, "d") with
> svgroot which is element of document the it gives me a null value.

That should be:

getAttributeNS(null, "d");

FYI: use createElementNS(svgNS, "rect") for example as your element must be 
in the SVG namspace.

Attributes in XML are in the default namespace, so use 'null' on 
getAttributeNS.

Thierry.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to