[SVG12Mobile]: uDOM SVGElement and Element

Hello www-svg,
Reading the uDOM idl I don't understand if SVGDocument and SVGElement
are accessible (in a SVG context) from a Document and Element nodes.
In particular, if I create an SVG element through the document
(Document interface) as in the following script:

Function a()
{
	var mySVGRect = document.createElementNS("SVGNS", "rect");
	
…


Then can I use the interface SVGElement on it?

 	mySVGRect.id = "IDNameOfSVGNode";


It seems reasonable to me working in that way in order to ensure the
access to svg module from the dom module but it is not clearly
declared in the SVG1.2t draft.

Thank you,

Diego.

Received on Thursday, 11 May 2006 12:13:42 UTC