library-web r482 - in trunk: . data/xslt
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: library-web r482 - in trunk: . data/xslt
- Date: Thu, 7 Aug 2008 12:28:54 +0000 (UTC)
Author: fpeters
Date: Thu Aug 7 12:28:53 2008
New Revision: 482
URL: http://svn.gnome.org/viewvc/library-web?rev=482&view=rev
Log:
* data/xslt/db2html.xsl: special case the list of languages as
published in the release notes, so language names are sorted.
Modified:
trunk/ChangeLog
trunk/data/xslt/db2html.xsl
Modified: trunk/data/xslt/db2html.xsl
==============================================================================
--- trunk/data/xslt/db2html.xsl (original)
+++ trunk/data/xslt/db2html.xsl Thu Aug 7 12:28:53 2008
@@ -100,6 +100,23 @@
</exsl:document>
</xsl:template>
+<xsl:template match="i">
+ <i><xsl:apply-templates/></i>
+</xsl:template>
+
+<!-- special case the list of languages as published in the release notes,
+ so language names are sorted -->
+<xsl:template match="itemizedlist[ id='langlist']">
+ <div class="block list itemizedlist">
+ <ul class="itemizedlist">
+ <xsl:for-each select="listitem">
+ <xsl:sort select="para" lang="$libgo.lang"/>
+ <li><xsl:value-of select="para"/></li>
+ </xsl:for-each>
+ </ul>
+ </div>
+</xsl:template>
+
<xsl:template name="db2html.ulink" match="ulink">
<xsl:param name="url">
<xsl:choose>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]