Re: [xsl] xsl-fo templates for svg

Subject: Re: [xsl] xsl-fo templates for svg
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 27 Aug 2008 11:30:54 -0400
Karl,

At 01:23 AM 8/27/2008, you wrote:
Is anyone extending xsl-fo with custom xsl/svg templates?  For
example:  an xsl template which return text rotated or a template
which produces pie charts (expressed as svg), etc...  I'd be
interested in what has been done in this area.

Outside the context of XSL-FO, I've done plenty of SVG generation via XSLT, and it works fine with XSL-FO. (I've generally coupled it with XSL-FO fairly loosely but there's no reason it has to be done that way.) I presented and wrote about this (although at a theoretical level, not in much technical detail) at


http://www.idealliance.org/proceedings/xml04/papers/156/piez-xml2004-ideadb.html

http://www.idealliance.org/papers/extreme/proceedings/html/2005/Piez01/EML2005Piez01.html

You should also look into the SVG conferences, where this topic is bound to get treatment.

The bottom line is yes, it's feasible, and if you can hack computational XSLT, no it's not hard. Indeed, the design questions (including determining which sorts of operations are worth the trouble of automating and maintaining in such a framework) are probably harder than the implementation.

Because the XSLT is computational, for more than trivial sorts of things I imagine you'll be wanting to use XSLT 2.0.

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread