Florent Georges wrote:

Chris Bowditch wrote:


<xsl:template match="headerline">
  <fo:leader leader-pattern="use-content"> </fo:leader>
</xsl:template>


No matter what I try the space node in the fo:leader is always
dropped!

Hi,

sorry I wasn't clear in my original post. The XSL you suggested is what I am actually using:

     <xsl:template match="headerline">
        <fo:leader leader-pattern="use-content">
           <xsl:text> </xsl:text>
        </fo:leader>
     </xsl:template>

and the space is still dropped but only when sending the stylesheet via SAX Events. It works fine when serialized to a file first but we don't want to serialize to a file and re-parse.....

Thanks,

Chris


Reply via email to