at the page :
<http://thoraval.yvon.f ree.fr/Fixed_layout/import_nodes.xh tml>
when importing an svg document i have to do :
document.import Node(
req.responseXML .getElementsByT agName(req.para meters.root)[0],true))
(lines 46/47)
in case of SVG : req.parameters. root = 'svg'
and 'math' in case of MathML
there is no DOM method for getting the root node, enabling not to
specify the root is svg|math ???
or could i do that using DOM/XPath ?
ie something like :
req.responseXML .evaluate('/',document, nsResolver, XPathResult.ANY _TYPE,
null);
???
--
Une Bévue
<http://thoraval.yvon.f ree.fr/Fixed_layout/import_nodes.xh tml>
when importing an svg document i have to do :
document.import Node(
req.responseXML .getElementsByT agName(req.para meters.root)[0],true))
(lines 46/47)
in case of SVG : req.parameters. root = 'svg'
and 'math' in case of MathML
there is no DOM method for getting the root node, enabling not to
specify the root is svg|math ???
or could i do that using DOM/XPath ?
ie something like :
req.responseXML .evaluate('/',document, nsResolver, XPathResult.ANY _TYPE,
null);
???
--
Une Bévue
Comment