[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Graphs in docbook?
Dave Pawson wrote: > Jirka, how does this idea fit with 'extending' docbook, vs incorporation > via a namespace vs incorporating into docbook processing? There are many possibilities, depends on your usage scenario, for example. 1) Incorporate graph2svg markup directly into DocBook 2) Keep graph2svg markup in separate files, turn them into SVG by external process and then include them as figures on DocBook level 3) Do some more advanced things, like have a DocBook table with special role assigned and then tweak stylesheets to generate graph2svg markup from DocBook table, then use graph2svg stylesheet to get SVG from this and include this resulting SVG into FO/XHTML generated by DocBook stylesheets, everything in single transformation But be careful when integrating graph2svg into DocBook stylesheets. Library requires XSLT 2.0, so you have to use Saxon9 and some things are still not working in Saxon9 (for example chunking, but there is partial patch for this scheduled for 1.76.0 sitting on my filesystem). Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]