I�ve tryed to add in SVG file other SVG file through ecamascript using
<image> tag.
When I load the SVG in Adobe SVG Viewer the script works and load the ohter
SVG.
However, when I load the same SVG in Batik/Squiggle nothing happens!

A sample of the code:

var objSVG = document.createElement("image");
objSVG.setAttribute("id", "myid");
objSVG[objSVG.length-1].setAttributeNS("http://www.w3.org/1999/xlink","href";
, "mysvg.svg");

var draw = document.getElementById("mainSVG");
draw.appendChild(objSVG);

Thanks for any help! :)

Allan.


+++++++++++++++++++++++++++++++++
+ Allan Reffson G. Lima         +
+ Email: [EMAIL PROTECTED] +
+ Telefone: 85 - 216-7828       +
+ Analista de Sistemas          +
+ Instituto Atl�ntico           +
+ Fortaleza - Cear� - Brasil    +
+++++++++++++++++++++++++++++++++
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.462 / Virus Database: 261 - Release Date: 13/3/2003


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

Reply via email to