Hi All,

we currently build up an XSLT stylesheet programmitically via SAX. So the stylesheet is passed as a SAX stream to xalan using the method:

DefaultHandler dh = (DefaultHandler)saxFactory.newTemplatesHandler();

This has been working fine for several years until recently I encountered the requirement to pass a space character into the stylesheet, e.g.

<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! However, this works fine when I serialize my stylesheet and call Xalan via the command line.

Does anyone know why the space is dropped?

Thanks,

Chris


Reply via email to