Well, the main problem was my inexperience with SVG.
Problem solved.

 Element g = doc.createElementNS(svgNS, "g")
 g.appendChild(rectangle1);
 g.appendChild(rectangle2);
 svgRoot.appendChild(g);


--
View this message in context: 
http://batik.2283329.n4.nabble.com/Nested-Nodes-tp4393178p4393200.html
Sent from the Batik - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to