aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2013-06-03 12:25:34 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2013-06-03 12:25:34 +0000
commit19e503545689d81d8d5f76edf6afd095ec3c5177 (patch)
tree44a01ed2eeac3585091311eaa248ff61d13b8785
parent88596414c037919f85c4c8447b8c71ad7fd865e4 (diff)
downloaddoc-19e503545689d81d8d5f76edf6afd095ec3c5177.tar.gz
doc-19e503545689d81d8d5f76edf6afd095ec3c5177.zip
- Mirrors should be linked with link now
Notes
Notes: svn path=/projects/db5/; revision=41831
-rw-r--r--share/xml/mirrors-master.xsl32
1 files changed, 17 insertions, 15 deletions
diff --git a/share/xml/mirrors-master.xsl b/share/xml/mirrors-master.xsl
index ec2c73b6a2..6115a2fdbb 100644
--- a/share/xml/mirrors-master.xsl
+++ b/share/xml/mirrors-master.xsl
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $FreeBSD$ -->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ version="1.0">
<xsl:output type="xml" encoding="iso-8859-1"
indent="yes"/>
@@ -128,7 +130,7 @@
<varlistentry>
<term>
<anchor>
- <xsl:attribute name="id">
+ <xsl:attribute name="xml:id">
<xsl:value-of select="concat(@id, '-', $type)" />
</xsl:attribute>
</anchor>
@@ -149,10 +151,10 @@
<xsl:choose>
<xsl:when test="url[@proto = $proto]">
<xsl:for-each select="url[@proto = $proto]">
- <ulink>
- <xsl:attribute name="url"><xsl:value-of select="." /></xsl:attribute>
- <xsl:value-of select="name" />
- </ulink>
+ <link>
+ <xsl:attribute name="xlink:href"><xsl:value-of select="." /></xsl:attribute>
+ <xsl:value-of select="."/>
+ </link>
</xsl:for-each>
<xsl:value-of select="' (ftp'" />
@@ -163,10 +165,10 @@
<xsl:value-of select="' / '" />
<xsl:choose>
<xsl:when test=". != ''">
- <ulink>
- <xsl:attribute name="url"><xsl:value-of select="." /></xsl:attribute>
- <xsl:value-of select="@proto" />
- </ulink>
+ <link>
+ <xsl:attribute name="xlink:href"><xsl:value-of select="." /></xsl:attribute>
+ <xsl:value-of select="." />
+ </link>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@proto" />
@@ -213,7 +215,7 @@
<xsl:template name="mirrors-docbook-itemizedlist-listitem">
<listitem>
<anchor>
- <xsl:attribute name="id">
+ <xsl:attribute name="xml:id">
<xsl:value-of select="concat(@id, '-', $type)" />
</xsl:attribute>
</anchor>
@@ -227,10 +229,10 @@
<xsl:choose>
<xsl:when test="url[@proto = $proto]">
<xsl:for-each select="url[@proto = $proto]">
- <ulink>
- <xsl:attribute name="url"><xsl:value-of select="." /></xsl:attribute>
- <xsl:value-of select="name" />
- </ulink>
+ <link>
+ <xsl:attribute name="xlink:href"><xsl:value-of select="." /></xsl:attribute>
+ <xsl:value-of select="."/>
+ </link>
</xsl:for-each>
<xsl:if test="url[