|
Subject: Re: [xsl] XSL-FO Question - fo:retrieve-marker From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Tue, 06 Feb 2007 22:17:48 +0100 |
then i need to have headers like these: page 1: title 1 - title 2 page 2: title 2 - title 3 page 3: title 3 page 4: title 3 - title 4
but so far what i get is this:
page 1: title 1 - title 2 page 2: title 2 - title 3 page 3: title 3 - title 3 page 4: title 3 - title 4
You can try to define an empty heading-end marker after the heading start, and the real heading-end right before the next heading start. Be careful to have a proper heading end at the end of the document.
<xsl:template match="article">
<fo:block>
<fo:marker marker-class-name="heading-start"><xsl:value-of
select="head"/></fo:marker>
<fo:marker marker-class-name="heading-end" />
<xsl:apply-templates/>
<fo:marker marker-class-name="heading-end"><xsl:value-of
select="concat(' - ', head)"/></fo:marker>
</fo:block>
</xsl:template>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] XSL-FO Question - fo:retrieve, Jeff Sese | Thread | Re: [xsl] XSL-FO Question - fo:retr, Jeff Sese |
| Re: [xsl] Newbie question on XSL tr, Abel Braaksma | Date | [xsl] Dynamically calling a templat, Steve |
| Month |