diff options
author | Benjamin Franzke <bfr@qbus.de> | 2015-02-19 09:24:37 +0100 |
---|---|---|
committer | Benjamin Franzke <bfr@qbus.de> | 2015-02-19 09:26:19 +0100 |
commit | c6ee3cec01cdcc1dff87eb984d54ae787d34fa0e (patch) | |
tree | 9a1d320cfc33a231ff3e169d913e81a09f706946 | |
parent | c0c2ebe662db2a54b2bf4e80073d254100f9b310 (diff) | |
download | endnote-import-c6ee3cec01cdcc1dff87eb984d54ae787d34fa0e.tar.gz endnote-import-c6ee3cec01cdcc1dff87eb984d54ae787d34fa0e.tar.bz2 endnote-import-c6ee3cec01cdcc1dff87eb984d54ae787d34fa0e.zip |
endnote-to-dbxml: Remove old stuff and cleanup
-rw-r--r-- | endnote-to-dbxml.xsl | 17 |
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> |