[library-web] hack around the libxslt(?) version installed on window.gnome.org



commit d7ed7d963dcb56c017b842768b268ea057078501
Author: Frederic Peters <fpeters 0d be>
Date:   Sun May 3 07:28:04 2009 +0200

    hack around the libxslt(?) version installed on window.gnome.org
---
 data/xslt/db2html.xsl |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/data/xslt/db2html.xsl b/data/xslt/db2html.xsl
index dc30f77..590cfcc 100644
--- a/data/xslt/db2html.xsl
+++ b/data/xslt/db2html.xsl
@@ -306,6 +306,13 @@ along with libgo; if not, write to the Free Software Foundation, Inc.,
   </xsl:choose>
 </xsl:template>
 
+<!-- hack around the libxslt(?) version installed on window.gnome.org (RH 5.3) (see bug 537091) -->
+<xsl:template name="db2html.anchor" match="anchor">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="name" select="$node/@id"/>
+  <xsl:if test="$name"><a name="{$name}"><xsl:comment><xsl:value-of select="$name"/></xsl:comment></a></xsl:if>
+</xsl:template>
+
 <xsl:template mode="db.label.mode" match="book">
  <!-- don't output anything for this element as gnome-doc-utils calls gettext
       on a missing msgid which is then rendered as is.



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