Subject: Re: [xsl] dynamically applying templates From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> Date: Tue, 14 Sep 2004 13:51:00 -0400 |
So perhaps your calling template would select the appropriate cs:reftype element in the config file to process:
<xsl:apply-templates name="style-biblio" select="$styles/cs:citationstyle/cs:content/cs:bibliography[@author- as-sort-order='yes']/cs:entry/cs:reftype[@name='book']">
<xsl:with-param name="source" select="."/>
</xsl:apply-templates>
And then
<xsl:template match="cs:reftype"> <xsl:param name="source"/> <xsl:apply-templates> <xsl:with-param name="source" select="."/>
<!-- the parameter passing shouldn't be necessary w/ XSLT 2.0 'tunneling parameters' -->
</xsl:apply-templates> </xsl:template>
<xsl:template match="cs:title"> <xsl:param name="source"/> <!-- do your title thing here, grabbing data from $source (the mods source) as necessary --> </xsl:template>
<xsl:template match="cs:title"> <xsl:param name="source"/> <!-- do your title thing here, grabbing data from $source (the mods source) as necessary --> <xsl:apply-templates select="mods:titleInfo"> <xsl:with-param name="source" select="mods:mods"/> </xsl:apply-templates> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] dynamically applying temp, Wendell Piez | Thread | Re: [xsl] dynamically applying temp, Wendell Piez |
Re: [xsl] How show Chinese an Japan, J.Pietschmann | Date | Re: [xsl] dynamically applying temp, Wendell Piez |
Month |