Subject: Re: [xsl] dynamically applying templates From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> Date: Tue, 14 Sep 2004 21:04:25 -0400 |
I'm going to leave the deeper look-see for later (being rather snowed myself), if you don't mind, and hope that the correction above will confirm that you're on the right track....
<html xmlns="http://www.w3.org/1999/xhtml"> <div>JaneDoeMain TitleSubtitle</div> </html>
<xsl:template match="/"> <xsl:param name="source"/> <html> <div> <xsl:apply-templates mode="bibliography"> <xsl:with-param name="source" select="$style-biblio"/> </xsl:apply-templates> </div> </html> </xsl:template>
<xsl:template match="cs:title"> <xsl:param name="source"/> <xsl:apply-templates select="$source/mods:titleInfo" mode="full"/> </xsl:template>
<xsl:template match="mods:titleInfo" mode="full"> <span class="title"> <xsl:apply-templates select="mods:title"/> <xsl:apply-templates select="mods:subTitle"/> </span> </xsl:template>
<xsl:template match="cs:creator" mode="full"> <xsl:param name="source"/> <xsl:apply-templates select="$source/mods:name" mode="full"/> </xsl:template>
<xsl:template match="mods:name" mode="full"> <span class="creator"> <xsl:apply-templates select="mods:namePart"/> </span> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] dynamically applying temp, Wendell Piez | Thread | Re: [xsl] dynamically applying temp, Wendell Piez |
[xsl] extension functions - help ne, Jiang, Peiyun | Date | [xsl] XSLT Extensions using Saxon, Peter . Gibbons |
Month |