[library-web] xslt: avoid duplicates in deprecated list of documents (GNOME bug 661166)
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] xslt: avoid duplicates in deprecated list of documents (GNOME bug 661166)
- Date: Sun, 12 Aug 2012 11:05:26 +0000 (UTC)
commit e2fe6bf39c031a4893ac8058fbbd0a58117a3842
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Sun Aug 12 13:02:43 2012 +0200
xslt: avoid duplicates in deprecated list of documents (GNOME bug 661166)
data/xslt/dev_indexes.xsl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/xslt/dev_indexes.xsl b/data/xslt/dev_indexes.xsl
index 037ec08..cc7a675 100644
--- a/data/xslt/dev_indexes.xsl
+++ b/data/xslt/dev_indexes.xsl
@@ -1017,8 +1017,9 @@ GStreamer <a href="http://www.gstreamer.net/documentation/">C</a>, <a href="gstr
<div class="container_12">
<div class="page_title"><h1 class="title">Deprecated API References</h1></div>
<ul>
- <xsl:for-each select="//document">
+ <xsl:for-each select="index[ lang=$lang]//document">
<xsl:if test="keywords/keyword[. = 'upcoming-deprecation'] and @path">
+ <xsl:message>deprecated: <xsl:value-of select="title"/></xsl:message>
<li><a href="{ path} /"><xsl:value-of select="title"/></a></li>
</xsl:if>
</xsl:for-each>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]