As far as i am aware (if i understand you correctly) substituting string data for new string data from a database should be relatively simple (in theory). Just traverse the DOM tree searching for any text elements these elements text can then be altered.
I dont know exactly how you would do it but it should not be too difficult. ----- Original Message ----- From: "steve stout" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 24, 2004 10:43 PM Subject: Can Batik do this? > > > I'm just starting to mess around with Batik and so far things look good > for what I want to do. But I have a question I'm hoping someone can > help me with. > > I'm going to be creating an SVG with Adobe Illustrator and I would like > to filter that SVG through the Batik rasterizer to create a jpeg. > That's the easy part. > > The hard part is that before the SVG gets converted I need to replace > some of the text strings with info from a database. I see that > Illustrator has the ability to define variables and the variable info > can be exported to the SVG, but my question is... is there anything > built in to Batik that will read that info and do the variable > substitution? > > The other option I was thinking about is to just not worry about the > Illustrator variables and come up with my own way of substituting the > data, but I'd like to know if anyone has tried this before. Or is > there anything in Batik (or another java library) that will do the same > thing? > > The key to this is that a majority of the data is going to be a table > of info, so I would need a way to replace each row of the table with > the correct information. > > So... can anyone give me any suggestions for how to do this? > > Thanks! > > > > ///--------------------------------------- > steve stout > web coordinator > arizona student unions > 52o.626.o1o9 > > http://www.union.arizona.edu > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]