diff options
Diffstat (limited to 'xml/htdocs/xsl/mirrors.xsl')
-rw-r--r-- | xml/htdocs/xsl/mirrors.xsl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/xml/htdocs/xsl/mirrors.xsl b/xml/htdocs/xsl/mirrors.xsl index 82de41aa..fb6d60b2 100644 --- a/xml/htdocs/xsl/mirrors.xsl +++ b/xml/htdocs/xsl/mirrors.xsl @@ -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'"> |