summaryrefslogtreecommitdiff
path: root/Master/Tools/tpmfromcat.xsl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-02-13 00:49:57 +0000
committerKarl Berry <karl@freefriends.org>2006-02-13 00:49:57 +0000
commit3f2df95b2fcba1a3e1987f6abf12599773a5bc52 (patch)
tree00e6e3e0a55fce3d2f6ac86e2de89183f574b84c /Master/Tools/tpmfromcat.xsl
parent045f872c421bb96d9e680ccd7f79c823cef10521 (diff)
move Master/Tools to Build/tools (delete)
git-svn-id: svn://tug.org/texlive/trunk@1515 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/Tools/tpmfromcat.xsl')
-rw-r--r--Master/Tools/tpmfromcat.xsl81
1 files changed, 0 insertions, 81 deletions
diff --git a/Master/Tools/tpmfromcat.xsl b/Master/Tools/tpmfromcat.xsl
deleted file mode 100644
index 4276721c9c2..00000000000
--- a/Master/Tools/tpmfromcat.xsl
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:TPM="http://texlive.dante.de/"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- exclude-result-prefixes="rdf TPM"
- version="1.0">
-
-<xsl:output
- method="xml"
- indent="yes"
- doctype-system="../../Tools/tpm.dtd"
- />
-
-<xsl:param name="sarovar"/>
-<xsl:param name="authors"/>
-
-<xsl:template match="@*|processing-instruction()|comment()|text()" >
- <xsl:copy/>
-</xsl:template>
-
-<xsl:template match="*" >
- <xsl:copy>
- <xsl:apply-templates
- select="*|@*|processing-instruction()|comment()|text()" />
- </xsl:copy>
-</xsl:template>
-
-<xsl:template match="TPM:Description">
- <xsl:variable name="S">
- <xsl:value-of select="document($sarovar)/entry/description"/>
- </xsl:variable>
- <TPM:Description>
- <xsl:choose>
- <xsl:when test="$S=''">
- <xsl:apply-templates/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$S"/>
- [description copied from TeX Catalogue]
- </xsl:otherwise>
- </xsl:choose>
- </TPM:Description>
-</xsl:template>
-
-<xsl:template match="TPM:Title">
- <xsl:variable name="S">
- <xsl:value-of select="document($sarovar)/entry/caption"/>
- </xsl:variable>
- <TPM:Title>
- <xsl:choose>
- <xsl:when test="$S=''">
- <xsl:apply-templates/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$S"/>
- </xsl:otherwise>
- </xsl:choose>
- </TPM:Title>
-</xsl:template>
-
-<xsl:template match="TPM:Author">
- <xsl:variable name="A">
- <xsl:value-of select="document($sarovar)/entry/authorref/@id"/>
- </xsl:variable>
- <xsl:variable name="S">
- <xsl:value-of select="document($authors)/authors/author[@id=$A]"/>
- </xsl:variable>
- <TPM:Author>
- <xsl:choose>
- <xsl:when test="$S=''">
- <xsl:apply-templates/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$S"/>
- </xsl:otherwise>
- </xsl:choose>
- </TPM:Author>
-</xsl:template>
-
-</xsl:stylesheet>