Hi,
I'm working on a project where I have to extend FO to support custom tags
for drawing charts.
For doing so I've extended ElementMapping and created my custom
ContentHandlerFactory, etc.
Until here it's ok. I can get all the infos about the chart from the xsl-fo
template.
My problem is that
Hi Jeremias,
Thanks for your quick response.
However I'll give some more informations about what I'm trying to achieve.
A sketch of the template :
... XSL-FO tags ...
fo:instream-foreign-object...
chart:chart xmlns:c=www...charts..
c:pie width=.. height=..
c:title value=Hello Piechart/
...
Hi, Eugen,
try to look for a minute on the XSL-T 2.0 library graph2svg, could be found
on http://graph2svg.jinak.cz/examples_en.html;. It is pure XSL-T 2.0 from XML
to SVG (when using two-phase transformation even inline SVG). The source XML
code of graph2svg looks very similar to Your example
On 03.01.2011 20:34:03 gen1986 wrote:
Hi Jeremias,
Thanks for your quick response.
However I'll give some more informations about what I'm trying to achieve.
A sketch of the template :
... XSL-FO tags ...
fo:instream-foreign-object...
chart:chart xmlns:c=www...charts..
c:pie
I was going to suggest SVG, the simplest way to produce a chart, but the OP
asked about extensions like they already had something more complicated in mind
with their mind made up about how they want to do it.