HTML Chunking problem

Here should go questions about transforming XML with XSLT and FOP.
usegobos
Posts: 2
Joined: Tue Feb 19, 2008 8:30 pm

HTML Chunking problem

Post by usegobos »

I am new to using both docbook and Oxygen and have run into an issue with chunking into html files. I have created a transformation scenario using docbook/xsl/html/chunk.xsl, but when the transformation completes, I only get a page with xsl tags....

<xsl:stytlesheet><xsl:import><xsl:import></xsl:import><xsl:include></xsl:include></xsl:stylesheet>

I am assuming that this is a simple mistake on my part, but apart from pushing through it, I would like to understand the cause. Thanks for any help.

Al
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: HTML Chunking problem

Post by sorin_ristache »

Hello,

An output file of the chunking stylesheet should be a HTML file. Please post the settings of your oXygen transformation scenario and the complete file path of the generated file that contains only XSL tags.

A DocBook chunking transformation (the docbook/xsl/html/chunk.xsl stylesheet) generates by default a main file called index.html containing a table of contents pointing to the chunk files and a chunk file for each element article, preface, part, index, section, sect1, sect2, etc. The chunking stylesheet has many parameters for customizing the output files. For example the file name of each chunk file can be generated from the value of the id attribute of the element from which the chunk content is generated instead of the default name that is generated automatically (for example ch01.html for the first chapter of an article, ch02.html for the second chapter, etc), the base directory of the output chunk files can be set instead of the default output directory which is the start directory of the application, etc.


Regards,
Sorin
usegobos
Posts: 2
Joined: Tue Feb 19, 2008 8:30 pm

Re: HTML Chunking problem

Post by usegobos »

Hey Sorin, thanks for the help. What is the easiest way to send you the settings for the transformation?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: HTML Chunking problem

Post by sorin_ristache »

Export your transformation scenarios to a file using the action from menu Options ->Export Global Transformation Scenarios, send us the file and tell us the name of your scenario.


Regards,
Sorin
Post Reply