|
Subject: Re: [xsl] multiple output targets (was use-when attribute?) From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> Date: Sun, 19 Dec 2004 15:53:46 -0500 |
How's that??
<xsl:call-template name="bib:format-bibliography"> <xsl:with-param name="output-format" select="latex" tunnel="yes"/> </xsl:call-template>
<xsl:template name="bib:format-bibliography">
<xsl:param name="output-format"/>
<xsl:choose>
<xsl:when test="$output-format='latex'">
<!-- $bib:formatted-biblist holds the xhtml output -->
<xsl:for-each select="$bib:formatted-biblist">
<xsl:apply-templates mode="output-latex"/>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="$bib:formatted-biblist"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template> <xsl:template match="xhtml:p[@class='bibref']" mode="output-latex">
<xsl:apply-templates mode="output-latex"/>
<xsl:text>
</xsl:text>
</xsl:template>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] multiple output targets (was , Bruce D'Arcus | Thread | RE: [xsl] multiple output targets (, Michael Kay |
| [xsl] Splitting merged XHTML cells, honyk | Date | Re: [xsl] use-when attribute?, Geert Josten |
| Month |