Hi Eric, I think the problem is that you are not using the name space aware methods of batik.
anyElement.addAttributesNS(svgNS,"color","red"); However, If you want a simple but raw solution, and if you don't have problems saving and loading files, you can try just to save the file after changes and reload it from the file system . Batik will read it properly, I guess. All the best Abraham. On Thu, Mar 6, 2008 at 7:57 PM, Cameron McCormack <[EMAIL PROTECTED]> wrote: > Hi Eric. > > Eric Hamacher: > > I am loading an existing SVG file into a Document and adding some nodes > > to it. > > > > When I take the resulting Document and transcode it to JPEG or PNG, the > > additions (a new <path>) I made do not show up in the image. I printed > > the dom to inspect it and my additions were present and formatted > > correctly. > … > > //perform addition of new <path> . . . > > I think you'll have to show us this part of your code to see if there's > any problem with it. The rest of the code looks OK. > > -- > Cameron McCormack, http://mcc.id.au/ > xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
