|
Subject: [xsl] namespace prefix weirdness From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> Date: Mon, 16 Aug 2004 17:43:31 -0400 |
<xsl:template match="/">
<xsl:variable name="temp">
<xsl:apply-templates mode="enhanced-bib"/>
</xsl:variable>
<xsl:apply-templates select="$temp" mode="modified"/>
</xsl:template><xsl:template match="db:article" mode="enhanced-bib"> <article xmlns="http://docbook.org/docbook-ng"> <xsl:copy> <xsl:apply-templates mode="enhanced-bib"/> </xsl:copy> </article> </xsl:template>
<xsl:template match="db:info" mode="enhanced-bib"> <info xmlns="http://docbook.org/docbook-ng"> <xsl:copy-of select="."/> </info> </xsl:template>
<xsl:template match="db:section" mode="enhanced-bib"> <section xmlns="http://docbook.org/docbook-ng"> <xsl:copy-of select="."/> </section> </xsl:template>
<xsl:template match="mods:modsCollection" mode="enhanced-bib"> <modsCollection xmlns="http://www.loc.gov/mods/v3"> <xsl:apply-templates select="mods:mods" mode="enhanced-bib"/> </modsCollection> </xsl:template>
<xsl:template match="mods:mods" mode="enhanced-bib">
<key>test</key>
<xsl:copy-of select="."/>
</xsl:template><xsl:template match="/" mode="modified"> <xsl:copy-of select="*"/> </xsl:template>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] modes and temp trees (was Re:, Bruce D'Arcus | Thread | Re: [xsl] namespace prefix weirdnes, Jeni Tennison |
| Re: [xsl] Adding Variables, Deirdre Saoirse Moen | Date | [xsl] (newbie) problem with paramet, Glen Mazza |
| Month |