xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danh Hoai" <h...@indent.org>
Subject Unsupported modification error when set Element's attribute "display" or visibility
Date Wed, 08 May 2002 20:03:00 GMT

I still have problem of showing and hiding the g inside the svg file.  Batik
generates Unsupported attribute modification : style on g
, when I try to change the style attribute (like elem.setAttribute("style",
 Also, does anyone know the link for downloading latest version of
Batik.(nightly build/cvs)?

Below is the simple svg file that I tried:  (I used JDK1.3.2 and Batik
1.5.1beta)  Thank you for your help.

<?xml version="1.0" encoding="iso-8859-1"?>



<rect id="canvas" x="0" y="0" width="300" height="300"


<g id="cross" style="visibility:hidden">

<line x1="0" y1="-5" x2="0" y2="5" style="stroke:black" />

<line x1="-5" y1="0" x2="5" y2="0" style="stroke:black" />



To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message