I want to convert this xml to pdf using cocoon
<?xml version="1.0" encoding="ISO-8859-1" ?>
<document>
<header>
<title>Pagina </title>
</header>
<body>
<h1>Link dei siti più visitati da me</h1>
<ul>
<li>
<link href="http://****">***</link>
</li>
<li>
<link href="http://***">***</link>
</li>
<li>
<link href="http://***">***</link>
</li>
<li>
<link href="http://***">***</link>
</li>
</ul>
</body>
</document>
The xsl I wrote to convert is this
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="/">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="page"
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-before extent="3cm"/>
<fo:region-body margin-top="3cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="all">
<fo:repeatabl e-page-master-alternatives>
<fo:condition al-page-master-reference master-reference="page "
page-position="first "/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="all" >
<fo:static-content flow-name="xsl-region-after">
<fo:block text-align="center"
font-size="10pt"
font-family="serif"
line-height="14pt">p age <fo:page-number/></fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates/>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
<xsl:template match="title">
<fo:block font-size="36pt" space-before.optimum= "24pt"
text-align="center"> <xsl:apply-templates/></fo:block>
</xsl:template>
<xsl:template match="link">
<xsl:element name="a">
<xsl:attribut e name="href">
<xsl:value-of select="@href"/>
</xsl:attribute>
<xsl:apply-templates/>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
The problem is that the pdf shows only the title and the part of the
body is not visible.
What I need to change to make visible the body in the pdf??
Please I ask for help!!!