docbook v5 customization layer for docbook publishers new ta

osprofi
Posts: 18

docbook v5 customization layer for docbook publishers new ta

Wed Jun 12, 2013 10:44 pm

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
osprofi
Posts: 18

Re: docbook v5 customization layer for docbook publishers ne

Thu Jun 13, 2013 7:12 am

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
sorin_ristache
Posts: 4144

Re: docbook v5 customization layer for docbook publishers ne

Mon Jun 17, 2013 3:38 pm

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

Return to “DocBook”

Who is online

Users browsing this forum: No registered users and 0 guests