[yelp-xsl] [db2html-bibliography] Fix minor differences in output



commit 3f9b7643b3063a1dcb8fafef0b009840b4acba80
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date:   Mon Mar 29 19:02:34 2010 +0000

    [db2html-bibliography] Fix minor differences in output
    
    In modifying db2html-bibliography.xsl, a bug was introduced that caused a change
    in white space and some missing periods.  This commit restores the output to the
    way it was before.
    
    Signed-off-by: brian m. carlson <sandals crustytoothpaste ath cx>

 xslt/docbook/html/db2html-bibliography.xsl |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-bibliography.xsl b/xslt/docbook/html/db2html-bibliography.xsl
index 6c68cde..0162aef 100644
--- a/xslt/docbook/html/db2html-bibliography.xsl
+++ b/xslt/docbook/html/db2html-bibliography.xsl
@@ -641,8 +641,7 @@ a bibliography entry.
     <xsl:call-template name="db2html.anchor"/>
     <xsl:call-template name="db2html.biblioentry.label"/>
     <xsl:apply-templates mode="db2html.biblioentry.mode"
-                         select="*[not(set:has-same-node(., $node/*[1]/self::abbrev)) and
-                                 not(set:has-same-node(., $node/*[1]/self::db:abbrev))]"/>
+                         select="*[not(set:has-same-node(., $node/*[1]/self::abbrev | $node/*[1]/self::db:abbrev))]"/>
   </div>
 </xsl:template>
 
@@ -656,8 +655,7 @@ a bibliography entry.
     <xsl:call-template name="db2html.anchor"/>
     <xsl:call-template name="db2html.biblioentry.label"/>
     <xsl:apply-templates mode="db2html.bibliomixed.mode"
-                         select="*[not(set:has-same-node(., $node/*[1]/self::abbrev)) and
-                                 not(set:has-same-node(., $node/*[1]/self::db:abbrev))]"/>
+                         select="node()[not(set:has-same-node(., $node/*[1]/self::abbrev | $node/*[1]/self::db:abbrev))]"/>
   </div>
 </xsl:template>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]