Subject: Re: [xsl] XSL:problem printing the values in between two tags From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 11 Sep 2006 11:50:04 +0100 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL:problem printing the , Jaebin Lee | Thread | Re: [xsl] XSL:problem printing the , Mukul Gandhi |
Re: [xsl] XSL:problem printing the , Jaebin Lee | Date | RE: [xsl] How expensive is //?, Michael Kay |
Month |