Page 1 of 1

docbook v5 customization layer for docbook publishers new ta

Posted: Wed Jun 12, 2013 10:44 pm
by osprofi
Hello Docbook Users

I am writing a customization layer to use docbook publishers schema where some new tags were included (e.g. poetry, linegroup, line). As a test I wrote an xml file where the tag poetry is contained in a section tag after the title; The template works fine except that the tag poetry is not rendered properly. I assume I need to add some code into the section template.

My questions:
1) Did you write a customization layer for docbook publishers ?
2) in which file from the framework docbook xsl 1.78 I can find the section tag
3) How the section tag needs to be connected to the poetry tag

Thanks for your answer.

Best regards, Peter

Re: docbook v5 customization layer for docbook publishers ne

Posted: Thu Jun 13, 2013 7:12 am
by osprofi
Hello docbook users
meanwhile I solved some of my questions:
#2 the section tag can be found in the file sections.xsl in the framework docbook xsl 1.78
#3 the section tag needs to be connected to the poetry tag as follows: d:section/d:poetry
regards, peter

Re: docbook v5 customization layer for docbook publishers ne

Posted: Mon Jun 17, 2013 3:38 pm
by sorin_ristache
Hi Peter,

Unfortunately the poetry element is not processed in the version 1.78 of DocBook XSL. If you don't want to wait until the DocBook XSL project adds processing for this element you will have to implement this poetry processing yourself in the XSLT stylesheets.


Regards,
Sorin