[gnome-doc-utils/mallard] [mallard] Change explore.xml to guide



commit b31531151eb59d46d2d4515cea6c42c09c449bf9
Author: Shaun McCance <shaunm gnome org>
Date:   Wed May 27 09:24:49 2009 -0500

    [mallard] Change explore.xml to guide
---
 doc/mallard/C/explore.xml           |    2 +-
 xslt/mallard/html/mal2html-page.xsl |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/mallard/C/explore.xml b/doc/mallard/C/explore.xml
index 9d1b21f..16489e3 100644
--- a/doc/mallard/C/explore.xml
+++ b/doc/mallard/C/explore.xml
@@ -1,5 +1,5 @@
 <page xmlns="http://www.gnome.org/~shaunm/mallard";
-      type="topic"
+      type="guide"
       id="explore">
 
 <info>
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index e4e84bd..fdfc1d2 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -74,7 +74,8 @@ REMARK: Describe this template
                 select="$node/mal:info/mal:link[ type = 'topic']"/>
   <!-- FIXME: // selectors are slow -->
   <xsl:variable name="guidelinks"
-                select="$mal.cache//*[mal:info/mal:link[ type = 'guide'][ xref = $id]][not(@id = $pagelinks/@xref)]"/>
+                select="$mal.cache//*[mal:info/mal:link[ type = 'guide'][ xref = $id]]
+                                     [not(@id = $pagelinks/@xref)]"/>
   <xsl:if test="$pagelinks or $guidelinks">
     <div class="pagelinks">
       <xsl:choose>



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