Would there be a way to switch to new line whenever the <lb> tag comes?
basically to print this in three different lines.
use apply-tremplates not value of then have a template fo lb that nmakes
a new line so
<xsl:template match="lb"><xsl:text> </xsl:text></xsl:template>
if you are generating text or
<xsl:template match="lb"><br/></xsl:template>
if you are generating html and owant a newline in the rendered output.
Would there be a way to switch to new line whenever the <lb> tag
comes?
don't use "tag" to mean "element", XSLT has no access to the tags in the
document (they are resolved by the XML parser before XSLT starts)
David
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--