xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Toussaint <and...@onemileup.com>
Subject access DOM of <image>
Date Wed, 29 Sep 2004 14:59:40 GMT
How can i access the SVG Dom of a placed SVG as an image element?

Example:

<svg contentScriptType="text/ecmascript" width="3314" 
xmlns:xlink="http://www.w3.org/1999/xlink" zoomAndPan="magnify" 
contentStyleType="text/css" viewBox="0 0 3314 1574" height="1574" 
preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" 
xml:space="preserve" version="1.0">

<g width="3314" height="1574" id="bk" style="">
     <rect x="0.0" y="0.0" width="3314" height="1574" 
pointer-events="fill"/>
	<rect x="0.0" y="0.0" width="3314.0" height="1574.0" 
pointer-events="fill"/>
	<image xmlns:xlink="http://www.w3.org/1999/xlink" uid="PanelImage" 
width="3314.0" xlink:show="replace" xlink:type="simple" 
preserveAspectRatio="none" height="1574.0" x="0.0" y="0.0" 
xlink:href="../local/hangars/hangarFile.svg" 
xlink:actuate="onRequest"/>
</g>
</svg>

I want to access the DOM of the svg image "hangarFile.svg" from within 
the Root SVG. Is there a way to do it?

Thanks, Andres.
Mime
View raw message