Greg,
> I have just switched to sablotron from transformiix and output that
> includes linefeeds isn't coming out in sablotron whereas transformiix
> didn't have this problem. [...]
>
> For example, the following code:
> <xsl:template match="MENU_BAR_ITEM">
> <TD>
> <A href="{HREF}"><xsl:value-of select="TEXT"/></A>
> </TD>
> </xsl:template>
>
> Loses formatting and prints as:
> <TD><A href="">text</A></TD>
This is correct behaviour. All the stylesheet's whitespace-only text
nodes are stripped, unless they are wrapped in a <xsl:text> element
(roughly speaking; you can also use the xml:space attribute).
So one (perhaps not the most elegant) option would be to write
<TD>
<xsl:text>
</xsl:text>
<A href="..."></A>
<xsl:text>
</xsl:text>
</TD>
Tom