summaryrefslogtreecommitdiffstats
path: root/xslt/unixref2tellico.xsl
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2014-03-03 13:46:44 +0100
committerSlávek Banko <[email protected]>2014-03-03 13:46:44 +0100
commit2e02da046d3e56cdf4744f644af35ad07424f48b (patch)
treef2dcf353aa2338eae1c2ff2c41af971c580c2762 /xslt/unixref2tellico.xsl
parent3c13229d98167ae4ae0710d5eeef23fef5005bf0 (diff)
downloadtellico-2e02da046d3e56cdf4744f644af35ad07424f48b.tar.gz
tellico-2e02da046d3e56cdf4744f644af35ad07424f48b.zip
Update to upstream version 1.3.6
Diffstat (limited to 'xslt/unixref2tellico.xsl')
-rw-r--r--xslt/unixref2tellico.xsl9
1 files changed, 6 insertions, 3 deletions
diff --git a/xslt/unixref2tellico.xsl b/xslt/unixref2tellico.xsl
index b997cac..9b25c44 100644
--- a/xslt/unixref2tellico.xsl
+++ b/xslt/unixref2tellico.xsl
@@ -46,9 +46,12 @@
</xsl:template>
<xsl:template match="cr:crossref">
- <entry>
- <xsl:apply-templates/>
- </entry>
+ <!-- if there's an error, or none found, a crossref element still shows up, with an error element -->
+ <xsl:if test="not(cr:error)">
+ <entry>
+ <xsl:apply-templates/>
+ </entry>
+ </xsl:if>
</xsl:template>
<xsl:template match="cr:book">