xsl-list
[Top] [All Lists]

xsl:fo and html output

2002-11-19 08:55:42
Hi,

I'm working with the cocoon framework.
I have an xml / xsl(:fo) file that is generating pdf-output. This works
fine. But when I trie to generate html output with the same xsl file, I get
an totally unformatted output.

My sitemap for the pdf-output:

<?xml version="1.0"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0";>    <!--
=========================== Components ================================ -->
<map:components>         <map:generators default="file"/>
<map:transformers default="xslt"/>       <map:readers default="resource"/>
     <map:serializers default="html"/>        <map:selectors default
="browser"/>        <map:matchers default="wildcard"/>  </map:components>
<!-- =========================== Pipelines
================================= -->
<map:pipelines>
  <map:pipeline>
    <map:match pattern="vers">
      <map:generate src="vers_new.xml"/>
      <map:transform src="vers_new.xsl"/>
     <map:serialize type="fo2pdf"/>
  </map:pipeline>
</map:pipelines>
</map:sitemap>

to generate html-output I changed only " <map:serialize type="html"/> ".
This gave me the unformatted output.

This tells me that there are other things to change.
Since I'm a newbie, I don't have a clue, what to change.


Thanks
Jonny


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>