public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson (robbat2)" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo commit in xml/htdocs/xsl: mirrors.xsl
Date: Thu, 03 Dec 2009 09:11:10 +0000	[thread overview]
Message-ID: <E1NG7iQ-00042c-Af@stork.gentoo.org> (raw)

robbat2     09/12/03 09:11:10

  Modified:             mirrors.xsl
  Log:
  Bug #293434: Give the <mirrorlist> element a new argument of the path to the source file to use, so we can reuse some of the template for a new rsync mirrors page.

Revision  Changes    Path
1.4                  xml/htdocs/xsl/mirrors.xsl

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/mirrors.xsl?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/mirrors.xsl?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/mirrors.xsl?r1=1.3&r2=1.4

Index: mirrors.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/mirrors.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -p -w -b -B -u -u -r1.3 -r1.4
--- mirrors.xsl	17 Jan 2008 23:05:41 -0000	1.3
+++ mirrors.xsl	3 Dec 2009 09:11:10 -0000	1.4
@@ -35,9 +35,11 @@
 
 
 <xsl:template match="/mainpage//mirrorlist">
- <!-- Generate list of mirrors, when (inside a mainpage && @select='full')
-                                  || (inside a     body && @select='partial') -->
- <xsl:variable name="the-mirrors" select="document('/main/en/mirrors3.xml')"/>
+ <!-- Given a XML file (@src) containing mirrors grouped by country,
+	  generate list of mirrors, when (inside a mainpage && @select='full')
+                                  || (inside a     body && @select='partial') 
+								  -->
+ <xsl:variable name="the-mirrors" select="document(@src)"/>
 
  <xsl:choose>
   <xsl:when test="name(..)='mainpage' and @select='full'">






             reply	other threads:[~2009-12-03  9:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03  9:11 Robin H. Johnson (robbat2) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-01-17 23:05 [gentoo-commits] gentoo commit in xml/htdocs/xsl: mirrors.xsl Xavier Neys (neysx)
2008-01-17 22:02 Xavier Neys (neysx)
2008-01-17 21:52 Xavier Neys (neysx)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1NG7iQ-00042c-Af@stork.gentoo.org \
    --to=robbat2@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox