Hi Badreddine,
badreddine lakhlifi wrote:
I did exactly what you said, but it does not work, the message i got is
the following:
org.apache.batik.script.InterpreterException: invalid argument count
(<SVG>; line 1)
at org.apache.batik.script.rhino.RhinoInterpreter.evaluate(Unknown
Source)
Sorry parseXML takes two arguments, the second is the document
to parse 'into':
Node n = (Node)in.evaluate("parseXML('"+xml+"', document)");
Node n = (Node)in.evaluate("parseXML('"+xml+"')");
doc.getDocumentElement().appendChild(n);
You might also have to capture the return value into an
ECMAScript variable and then look up that variable from Java.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]