Subject: XSL:FO forced page break between <glossentry> elements?
Platform: Intel Pentium M, Ubuntu 5.10 "Breezy Badger", docbook-xml 4.4-4 docbook-xsl 1.68.1-0.1ubuntu1 xsltproc 1.1.15-0ubuntu1 fop-0.91beta I have a docbook article with a <glosslist>, where in PDF, the content of one of the <glossentry> elements overlaps with the line and page number at the bottom of the page. I tried inserting a <?fo-pagebreak ?> PI before the offending <glossentry> and matching it with the following XSLT template: <xsl:template match="processing-instruction('fo-pagebreak')"> <fo:block break-before="page"/> </xsl:template> However, this didn't have any effect. And looking at the resulting .fo file there is no <fo:block break-before="page"/> element. If I put the PI eg. before a <section> there will be a <fo:block break-before="page"/> in the output, and there will be a page break in the resulting PDF. So the reason is probably that the template isn't matched inside the <glosslist>. Does anyone know what I can do to make it match inside <glosslist>? Thanx! - Steinar