Hi,
I want to change the attribute 'offset' of the nodes 'stop' of my svg document which is loaded in a JSVGcanvas, so I use xalan-j to get these nodes by its 'XPATH's
and i use the method setAttributeNS to change the value of 'offset', the problem is : the change does not appear
in my canvas, wheras when i do the same thing with the attributes x,y,...of the node rect the change appear immediately, can somebody help me?
I am using Batik 1.5.1 and xalan-j 2.7.0.
this is a piece of code of my svg document:
<defs>
<linearGradient gradientTransform="rotate(90)" id="b102" spreadMethod="repeat">
<stop stop-color="white" id="stop1395" offset="10%"/>
<stop stop-color="gray" id="stop1397" offset="10%"/>
</linearGradient>
</defs>
<!-- Le rectangle est rempli en utilisant un serveur de peinture de dégradé linéaire -->
<rect x="344.6389" y="121.755" fill="url(#b102)"
width="234.10184" height="224.64087" id="rect1399"
stroke="black" stroke-width="0"/>
Thanks for your help
Best regards
Bader
Avec MSN Hotmail stockez jusqu'à 250 Mo ! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
