Here is the line from the xslt (all on one line):
<a href="current" class="action"><i18n:text>Current Items</i18n:text> <span class="count">(<xsl:value-of select="$total"/>)</span></a>
And it is rendered in the browser as:
<a class="action" href="current">Current Items<span class="count">(4)</span>
</a>
That's no surprise. The XSLT processor strips all whitespace only text nodes from the stylesheet, therefore the space between the "</i18n:text>" tag and "<span" goes away. If you want to enforce a space there: - Enclose it in xsl:text: <xsl:text> </xsl:text> - Put some non-whitespace there. Perhaps you need a colon anyway: <i18n:text>Current Items</i18n:text>: <span - Use a non-breaking space or perhaps another character out of the Unicode space family. Only the common space U+0020, the Tab, CR and LF count as whitespace for the XSLT processor: <i18n:text>Current Items</i18n:text> <span This will, of course, result in a non-breaking space in the HTML, whether this matches your intentions is on you toi decide.
When I turn off the indenting in the xml serializer,
Indenting may insert significant whitespace on its own and should never be used for producing XHTML.
J.Pietschmann
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]