diff options
author | Slávek Banko <[email protected]> | 2014-03-03 13:46:44 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2014-03-03 13:46:44 +0100 |
commit | 2e02da046d3e56cdf4744f644af35ad07424f48b (patch) | |
tree | f2dcf353aa2338eae1c2ff2c41af971c580c2762 /xslt/unixref2tellico.xsl | |
parent | 3c13229d98167ae4ae0710d5eeef23fef5005bf0 (diff) | |
download | tellico-2e02da046d3e56cdf4744f644af35ad07424f48b.tar.gz tellico-2e02da046d3e56cdf4744f644af35ad07424f48b.zip |
Update to upstream version 1.3.6
Diffstat (limited to 'xslt/unixref2tellico.xsl')
-rw-r--r-- | xslt/unixref2tellico.xsl | 9 |
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"> |