David, You can avoid have the style sheet enclosed in a CDATA by changing your export options.
After choosing SaveAs SVG, go to the Advanced properties and choose, any option except "Style Elements" ( Presentation Attributes, Style Attributes, Style Attributes(Entity References)) Just out of curiosity, does Batik accept a CSS style sheet if it is linked externally? Michael > -----Original Message----- > From: Swearingen, David W. [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 03, 2002 8:33 AM > To: '[EMAIL PROTECTED]' > Subject: Batik Rasterizer Doesn't Like Illustrator 10 SVG output CSS > Stuff / Also: Velocity > > > I'm rasterizing SVG files that have been created by Illustrator 10. Batik > doesn't like the CDATA content in the [style type="text/css"] > tag. I remove > the CDATA and the rasterizer works great. This is a little > inconvient since > I don't know how (if possible) to tell Illustrator not to output the css > data when it creates the files. > > Anybody run into this issue? > > While I'm here, I'll put in a plug for using Apache's Velocity to > crank out > batches of SVG files with, in my case, different text in each one. I was > able to get this up an running in an hour. Conversely, Adobe's new > Illustrator "batch" and "data driven graphics" features have not been able > to deliver as promised in this respect. So if you want to > generate a bunch > of SVG graphics, each one with elements defined in a database or text list > of some kind, consider Velocity -- assuming you have some basic > Java skills > or a techie around to help out. Very powerful. > > David > > ------------------------------------------------------------------------- > David Swearingen > Northrop-Grumman Information Technology - TASC > 4801 Stonecroft Blvd. Chantilly, VA 20151-3822 > 703-633-8300 x4790 voice > 703-449-1610 fax > [EMAIL PROTECTED] > ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
