diff options
Diffstat (limited to 'Build/cdbuild/tpm2tpm.xsl')
-rw-r--r-- | Build/cdbuild/tpm2tpm.xsl | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/Build/cdbuild/tpm2tpm.xsl b/Build/cdbuild/tpm2tpm.xsl deleted file mode 100644 index 90139806e44..00000000000 --- a/Build/cdbuild/tpm2tpm.xsl +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0"?> -<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" version="1.0" - resultns=""> - -<xsl:template match="/"> - <xsl:apply-templates/> -</xsl:template> - - -<xsl:template match="TPM:Title"/> - -<xsl:template match="TPM:Description"/> - -<xsl:template match="rdf:Description"> -<xsl:variable name="Name"> - <xsl:text>/texlive/Master/texmf-dist/doc/html/catalogue/entries/</xsl:text> - <xsl:value-of select="TPM:Name"/> - <xsl:text>.xml</xsl:text> -</xsl:variable> - <xsl:copy> - <xsl:apply-templates select="*|@*|comment()|processing-instruction()|text()"/> - <xsl:for-each select="document($Name)"> - <TPM:Title> - <xsl:value-of select="entry/about/caption"/> - </TPM:Title> - <TPM:Description> - <xsl:value-of select="entry/description/abstract"/> - </TPM:Description> - </xsl:for-each> - </xsl:copy> - -</xsl:template> - -<xsl:template match="text()"> - <xsl:value-of select="."/> <!-- could normalize() here --> - </xsl:template> - -<xsl:template match="*|@*|comment()|processing-instruction()"> - <xsl:copy> - <xsl:apply-templates select="*|@*|comment()|processing-instruction()|text()"/> - </xsl:copy> -</xsl:template> - - -</xsl:stylesheet> |