>>>>> "ARGL" == Allan Reffson Granja Lima <[EMAIL PROTECTED]> writes:
ARGL> I�ve tryed to add in SVG file other SVG file through ecamascript
ARGL> using <image> tag. When I load the SVG in Adobe SVG Viewer the
ARGL> script works and load the ohter SVG. However, when I load the
ARGL> same SVG in Batik/Squiggle nothing happens!
ARGL> A sample of the code:
ARGL> var objSVG = document.createElement("image");
You probably want to create an 'svg' image element as opposed to
an image element in the default (or no-name) namespace, try:
var objSVG = createElementNS("http://www.w3.org/2000/svg", "image");
ARGL> objSVG.setAttribute("id", "myid");
ARGL> objSVG[objSVG.length-1].setAttributeNS("http://www.w3.org/1999/xlink","href"
ARGL> , "mysvg.svg");
ARGL> var draw = document.getElementById("mainSVG");
ARGL> draw.appendChild(objSVG);
ARGL> Thanks for any help! :)
ARGL> Allan.
ARGL> +++++++++++++++++++++++++++++++++ + Allan Reffson G. Lima + +
ARGL> Email: [EMAIL PROTECTED] + + Telefone: 85 - 216-7828 + +
ARGL> Analista de Sistemas + + Instituto Atl�ntico + + Fortaleza -
ARGL> Cear� - Brasil + +++++++++++++++++++++++++++++++++ --- Outgoing
ARGL> mail is certified Virus Free. Checked by AVG anti-virus system
ARGL> (http://www.grisoft.com). Version: 6.0.462 / Virus Database:
ARGL> 261 - Release Date: 13/3/2003
ARGL> ---------------------------------------------------------------------
ARGL> To unsubscribe, e-mail: [EMAIL PROTECTED]
ARGL> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]