summaryrefslogtreecommitdiff
path: root/endnote-to-dbxml.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'endnote-to-dbxml.xsl')
-rw-r--r--endnote-to-dbxml.xsl17
1 files changed, 2 insertions, 15 deletions
diff --git a/endnote-to-dbxml.xsl b/endnote-to-dbxml.xsl
index 1783f0a..4a8a47d 100644
--- a/endnote-to-dbxml.xsl
+++ b/endnote-to-dbxml.xsl
@@ -9,17 +9,6 @@
<xsl:include href="util.xsl"/>
- <xsl:template match="*">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates />
- </xsl:copy>
- </xsl:template>
-
- <xsl:template match="authors" mode="references">
-
- </xsl:template>
-
<xsl:template match="record">
<xsl:param name="authors"/>
@@ -42,7 +31,7 @@
<xsl:value-of select="ref-type/@name" />
</type>
<year>
- <xsl:apply-templates select="dates/year" mode="content" />
+ <xsl:value-of select="dates/year" />
</year>
<authors>
@@ -78,15 +67,13 @@
<xsl:template name="authors">
<tx_likat_pubs_domain_model_authors>
- <xsl:apply-templates select="//author[generate-id() =
- generate-id(key('author', .)[1])]"/>
+ <xsl:apply-templates select="//author[generate-id() = generate-id(key('author', .)[1])]"/>
</tx_likat_pubs_domain_model_authors>
</xsl:template>
<xsl:template match="/">
<db>
<xsl:apply-templates select="xml/records"/>
-
<xsl:call-template name="authors" />
</db>
</xsl:template>