Hi, Using Batik I am rendering one SVG image now from that SVG I want a part to 
be a new svg with different co-ordinates relative to new svg
If SVG 1 is as follows.


<svg  version="1.1" baseProfile="basic" id="Page_1" xmlns="&ns_svg;" 
xmlns:xlink="&ns_xlink;" width="640" height="480"
     viewBox="0 0 0 0" overflow="visible" enable-background="new 0 0 0 0" 
xml:space="preserve">
<g id="KEY-EE">
    <path fill="#CBCACA" stroke="#000000" stroke-width="0.6562" 
d="M19.229,185.999c-4.316,0-7.817,3.499-7.817,7.818
        
c0,4.321,3.501,7.817,7.817,7.817s7.817-3.496,7.817-7.817C27.046,189.498,23.545,185.999,19.229,185.999z"/>
    <g>
        <path 
d="M18.793,190.792v1.082h-3.091v1.256h2.836v1h-2.836v1.436h3.156v1.081h-4.442v-5.854H18.793z"/>
        <path 
d="M24.105,190.792v1.082h-3.091v1.256h2.836v1h-2.836v1.436h3.156v1.081h-4.442v-5.854H24.105z"/>
    </g>
</g>
<g id="KEY-PI">
    <circle fill="#CBCACA" stroke="#000000" stroke-width="0.6562" cx="18.905" 
cy="231.283" r="7.817"/>
    <path 
d="M22.249,229.371c0.041-0.131,0.074-0.243,0.087-0.338c0.026-0.157,0.013-0.262-0.036-0.323
        
c-0.323-0.259-4.57-0.271-5.639-0.115c-0.344,0.051-0.764,0.322-1.005,0.527c-0.351,0.361-0.528,0.577-0.546,0.672v0.003
        C21.818,229.65,22.151,229.668,22.249,229.371z"/>
</g>
</svg> 

then I want to retrieve and render KEY-PI in another  SVG from position 0,0 and 
not  at its actual position?
I am stuck in this ..I can generate the other SVG and render it ...But the 
problem is how can I handle the positioning..
Can nebody suggest any solution for this??? ..can I get the Node with relative 
positioning..Or can I modify the SVG to implement this functionality using 
Batik??




       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/

Reply via email to