Re: [xsl] DITA tables to SVG

Subject: Re: [xsl] DITA tables to SVG
From: "Eliot Kimber eliot.kimber@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Feb 2022 17:36:42 -0000
To follow up on Paul Tysons suggestion of using XSL-FO as a basis:

With both FOP and Antenna House you can render to an intermediate area tree
format that represents the rendered content in XML.

That gives you everything you need to then render the result in SVG (or any
other graphical format) because you can treat the area tree as a set of
drawing instructions and you also have all the typographic details (fonts, x/y
position of the text, etc.) that you would need to render the table accurately
in SVG.

In addition, Antenna House offers direct SVG output as a separately-priced



Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368<>
LinkedIn<> |
Twitter<> |
YouTube<> |

From: rick@xxxxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Saturday, February 26, 2022 at 11:04 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [xsl] DITA tables to SVG
[External Email]

A little further background: I have a series of DITA topics that need to be
combined in a single chapter and opened with Adobe FrameMaker. FrameMaker is
choking when trying to open the chapter (it has over 300 tables in it). The
client is fine with having the tables as SVG graphics because the text renders
as text in the resulting PDF. And thus my proposed task.

-----Original Message-----
From: rick@xxxxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, February 26, 2022 12:00 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] DITA tables to SVG

Thanks for all of the generous replies. I did more investigation on the svg
format and, as Liam said, it is a format for rendering graphics. I need to
render some dense tables as graphics and I have some examples that I can
reverse engineer. Thanks again.


-----Original Message-----
From: Liam R. E. Quin liam@xxxxxxxxxxxxxxxx
Sent: Friday, February 25, 2022 9:19 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] DITA tables to SVG

On Fri, 2022-02-25 at 17:27 +0000, rick@xxxxxxxxxxxxxx wrote:
> HI All,
> I have a series of DITA tables that I would like to convert to SVG.
> Is there
> a schema for SVG tabular data that I could use to create a stylesheet?

SVG doesn't really have tabular data. It's a vector graphics format.

Are you sure you mean SVG and not CSV?  Or are you trying to plot a graph or
turn the table into a diagram of some sort?


Current Thread