summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/mallard/C/explore.xml2
-rw-r--r--xslt/mallard/html/mal2html-page.xsl3
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>