Using the onechunk.xsl stylesheet

8 views
Skip to first unread message

natk

unread,
May 25, 2014, 8:40:47 AM5/25/14
to docbkx-to...@googlegroups.com
Is it possible to configure the docbkx-tools to use this stylesheet?


Nat 

Mimil

unread,
May 26, 2014, 4:13:17 PM5/26/14
to docbkx-to...@googlegroups.com
Hello, 

I think you can use the 'urn:docbook../file.xsl as explained in http://docbkx-tools.sourceforge.net/advanced.html

I don't remember where is your file, but what you have to know is that the urn:... points to the default directory of the stylesheet within the docbook distribution. So you can use ../ to go back to the parent directory.

Regards,
Cedric Pronzato

Le 25 mai 2014 à 14:40, natk <nker...@gmail.com> a écrit :

Is it possible to configure the docbkx-tools to use this stylesheet?


Nat 

--
You received this message because you are subscribed to the Google Groups "Docbkx Tools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docbkx-tools-us...@googlegroups.com.
To post to this group, send email to docbkx-to...@googlegroups.com.
Visit this group at http://groups.google.com/group/docbkx-tools-users.
For more options, visit https://groups.google.com/d/optout.

natk

unread,
May 27, 2014, 12:49:48 AM5/27/14
to docbkx-to...@googlegroups.com
Just answering my own question.

I created a customization layer for this, with this as the first line:

  <xsl:import href="urn:docbkx:stylesheet/onechunk.xsl"/>

and this works, setting the following parameters in the POM:

  <htmlCustomization>/path/to/above/customization</htmlCustomization>
  <useIdAsFilename>true</useIdAsFilename>
  <chunkedOutput>true</chunkedOutput>
  <includes>*.xml</includes>

where the *.xml files are all docbook sections.

Nat




Reply all
Reply to author
Forward
0 new messages