- Mirrors should be linked with link now
This commit is contained in:
parent
88596414c0
commit
19e5035456
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/db5/; revision=41831
1 changed files with 17 additions and 15 deletions
|
@ -1,7 +1,9 @@
|
||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $FreeBSD$ -->
|
<!-- $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"
|
<xsl:output type="xml" encoding="iso-8859-1"
|
||||||
indent="yes"/>
|
indent="yes"/>
|
||||||
|
@ -128,7 +130,7 @@
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<anchor>
|
<anchor>
|
||||||
<xsl:attribute name="id">
|
<xsl:attribute name="xml:id">
|
||||||
<xsl:value-of select="concat(@id, '-', $type)" />
|
<xsl:value-of select="concat(@id, '-', $type)" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</anchor>
|
</anchor>
|
||||||
|
@ -149,10 +151,10 @@
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="url[@proto = $proto]">
|
<xsl:when test="url[@proto = $proto]">
|
||||||
<xsl:for-each select="url[@proto = $proto]">
|
<xsl:for-each select="url[@proto = $proto]">
|
||||||
<ulink>
|
<link>
|
||||||
<xsl:attribute name="url"><xsl:value-of select="." /></xsl:attribute>
|
<xsl:attribute name="xlink:href"><xsl:value-of select="." /></xsl:attribute>
|
||||||
<xsl:value-of select="name" />
|
<xsl:value-of select="."/>
|
||||||
</ulink>
|
</link>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
|
||||||
<xsl:value-of select="' (ftp'" />
|
<xsl:value-of select="' (ftp'" />
|
||||||
|
@ -163,10 +165,10 @@
|
||||||
<xsl:value-of select="' / '" />
|
<xsl:value-of select="' / '" />
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test=". != ''">
|
<xsl:when test=". != ''">
|
||||||
<ulink>
|
<link>
|
||||||
<xsl:attribute name="url"><xsl:value-of select="." /></xsl:attribute>
|
<xsl:attribute name="xlink:href"><xsl:value-of select="." /></xsl:attribute>
|
||||||
<xsl:value-of select="@proto" />
|
<xsl:value-of select="." />
|
||||||
</ulink>
|
</link>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:value-of select="@proto" />
|
<xsl:value-of select="@proto" />
|
||||||
|
@ -213,7 +215,7 @@
|
||||||
<xsl:template name="mirrors-docbook-itemizedlist-listitem">
|
<xsl:template name="mirrors-docbook-itemizedlist-listitem">
|
||||||
<listitem>
|
<listitem>
|
||||||
<anchor>
|
<anchor>
|
||||||
<xsl:attribute name="id">
|
<xsl:attribute name="xml:id">
|
||||||
<xsl:value-of select="concat(@id, '-', $type)" />
|
<xsl:value-of select="concat(@id, '-', $type)" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</anchor>
|
</anchor>
|
||||||
|
@ -227,10 +229,10 @@
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="url[@proto = $proto]">
|
<xsl:when test="url[@proto = $proto]">
|
||||||
<xsl:for-each select="url[@proto = $proto]">
|
<xsl:for-each select="url[@proto = $proto]">
|
||||||
<ulink>
|
<link>
|
||||||
<xsl:attribute name="url"><xsl:value-of select="." /></xsl:attribute>
|
<xsl:attribute name="xlink:href"><xsl:value-of select="." /></xsl:attribute>
|
||||||
<xsl:value-of select="name" />
|
<xsl:value-of select="."/>
|
||||||
</ulink>
|
</link>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
|
||||||
<xsl:if test="url[
|
<xsl:if test="url[
|
||||||
|
|
Loading…
Reference in a new issue