Sam Steingold wrote:
> I want the <isbn> element to be rendered as "ISBN 0-201-10088-6" and not
> just "0-201-10088-6" as it is now (both XHTML and FO):
> <https://sourceforge.net/tracker/?func=detail&atid=373750&aid=1064041&group_id=21935>
>
> I tried this:
>
> <xsl:template match="isbn">
> <div class="isbn">ISBN <xsl:apply-templates/></div>
> </xsl:template>
>
> but it did not help
> (what's the difference between apply-templates and apply-imports, BTW?)
You have your ISBN element inside biblioentry, I suppouse. Then
following code should work:
<xsl:template match="isbn" mode="bibliography.mode">
<fo:inline>
<xsl:text>ISBN </xsl:text>
<xsl:apply-templates mode="bibliography.mode"/>
<xsl:value-of select="$biblioentry.item.separator"/>
</fo:inline>
</xsl:template>
--
------------------------------------------------------------------
Jirka Kosek e-mail: http://www.kosek.cz
------------------------------------------------------------------
Profesionální školení a poradenství v oblasti technologií XML.
Podívejte se na náš nově spuštěný web http://DocBook.cz
Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------