[library-web] [xslt] add support for cross referencing cairo pages (GNOME bug 635390)



commit f160c3fb1b98d4b665c5ac35654c226c1a105f90
Author: Frédéric Péters <fpeters 0d be>
Date:   Sun Nov 21 15:50:40 2010 +0100

    [xslt] add support for cross referencing cairo pages (GNOME bug 635390)

 data/xslt/html2html.xsl |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/data/xslt/html2html.xsl b/data/xslt/html2html.xsl
index 303f04a..c2f9c4f 100644
--- a/data/xslt/html2html.xsl
+++ b/data/xslt/html2html.xsl
@@ -178,6 +178,15 @@ along with libgo; if not, write to the Free Software Foundation, Inc.,
            <xsl:when test="contains(., '/gconf/')">
              <xsl:value-of select="concat('../../gconf/stable/', substring-after(., '/gconf/'))"/>
            </xsl:when>
+           <xsl:when test="contains(., '/cairo/stable/')">
+             <xsl:value-of select="concat('../../cairo/stable/', substring-after(., '/cairo/stable/'))"/>
+           </xsl:when>
+           <xsl:when test="contains(., '/cairo/unstable/')">
+             <xsl:value-of select="concat('../../cairo/unstable/', substring-after(., '/cairo/unstable/'))"/>
+           </xsl:when>
+           <xsl:when test="contains(., '/cairo/')">
+             <xsl:value-of select="concat('../../cairo/stable/', substring-after(., '/cairo/'))"/>
+           </xsl:when>
            <xsl:otherwise>
              <xsl:value-of select="."/>
            </xsl:otherwise>



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