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: batik-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org