Subject: Re: [xsl] XSL-FO / XSLT Transformations & Line Breaks in XML From: "craig webber" <craigwebber@xxxxxxxxxxx> Date: Wed, 04 May 2005 12:18:47 +0000 |
For arbitrary breaks, the XSLT processor needs to be able to recognize something, so you need an element in the middle of the text, thus:
<xsl:template match="para1"> <p><xsl:apply-templates/></p> </xsl:match>
<xsl:template match="break"> <br/> </xsl:match>
<fo:block space-before="30" space-after="30"> <xsl:value-of select="heading"/> </fo:block>
<fo:block space-before="30" space-after="30"> <xsl:value-of select="para"/> </fo:block>
<fo:block space-before="30" space-after="30"> <xsl:value-of select="."/> </fo:block>
<publications> <header>
<heading> Consultations Database </heading>
</header> </publications>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL-FO / XSLT Transformat, JBryant | Thread | RE: [xsl] XSL-FO / XSLT Transformat, Greg Gaffney |
Re: [xsl] A challenge.. Group Perio, David Carlisle | Date | [xsl] [ANN] RenderX XEPWIN 1.2 is r, Alexander Peshkov |
Month |