docbook v5 customization layer for docbook publishers new ta

osprofi
Posts: 18
Joined: Wed Sep 03, 2008 10:12 pm

docbook v5 customization layer for docbook publishers new ta

Post 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
osprofi
Posts: 18
Joined: Wed Sep 03, 2008 10:12 pm

Re: docbook v5 customization layer for docbook publishers ne

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: docbook v5 customization layer for docbook publishers ne

Post 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
Post Reply