PKP Bugzilla – Bug 3687
XML: Extend the xmlGalleys plugin to include support for DocBook, TEI, and Erudit
Last modified: 2013-05-29 15:18:05 PDT
The current xmlGalleys plugin has built-in support for the NLM XML schema. It also allows for standalone XSL stylesheets to be uploaded and used instead of the included NLM XSL. However, it is hard to support whole XSL libraries, such as DocBook, where more than one XSL will normally come into play.
After some discussion MJ and I have pinpointed TEI, DocBook, and Erudit as the primary schemas we should look to support, in addition to NLM. This will involve packaging relevant XSL stylesheets similarly to how NLM is currently packaged (after checking on licensing terms, of course); we will also have to identify a best-practices path for upgrading our packaged XSL when new stylesheets are released (thankfully, not very often), and possibly provide a method by which users can easily add their own XSL libraries or upgrade the ones we include.
Users should be able to choose from one or more stock/default stylesheets for each schema (for example, specify that they want single HTML and/or PDF generated from TEI XML). Users should also be able to upload their own customization layers to draw from the installed libraries (this should already be supported by using the current upload function).
Development will focus on building in XHTML and basic PDF support first where currently available, with an eye to more fully supporting more robust PDF generation down the road.
Deferred from 2.3.
Will not immediately implement, just assigned to me so the bug appears on my todo list. If anybody wants to step in please tell me.