You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Iwan Setiawan <se...@itc.nl> on 2001/08/03 17:20:21 UTC

Generating SVG

Hi...

I'm newbie in this field.
I just downloaded and trying Batik,
One of the curios thing for me is
Is it possible to generate SVG files from XML files
using Batik.

I already have my XML file, and want display it graphically.

Thanks,


Iwan Setiawan (setiawan@itc.nl)
http://kumiz.net
----------------------------------------------
Student in Geoinformatics
International Institute for Aerospace Survey and 
Earth Sciences (ITC)
P.O. Box 6 (Private Mail Box: 442)
7500 AA Enschede - The Netherlands
Phone: +31 - 53 - 4874 444
Fax: +31 - 53 - 4874 400
Website: http://www.itc.nl

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Generating SVG

Posted by Peter Becker <pb...@meganesia.int.gu.edu.au>.
Iwan Setiawan wrote:
> 
> Hi...
> 
> I'm newbie in this field.
> I just downloaded and trying Batik,
> One of the curios thing for me is
> Is it possible to generate SVG files from XML files
> using Batik.
> 
> I already have my XML file, and want display it graphically.

Since XML is only a syntax you need to specify the task more clearly.
But it sounds like a task for XSLT to me -- you can turn your XML format
into SVG using XSLT and then use Batik to render it. Batik can turn
drawing primites in Java into XML, i.e. you can draw an SVG file with
the usual Java drawing primitives, but XML to XML conversions are XSLTs
job ;-) This includes SVG, which is an XML format.

HTH,
  PeterB

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org