diff options
author | Karl Berry <karl@freefriends.org> | 2005-12-27 23:56:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2005-12-27 23:56:17 +0000 |
commit | 577983747d8680b8defbfdd03a9d50bad6fd54b7 (patch) | |
tree | 16b160f53c6c4c309c07db2c5b095d3abb16f69a /Build/cdbuild/tpm2files.xsl | |
parent | 07fed0169bae91dfb5616f9d19e7969727e19d4d (diff) |
initial Build
git-svn-id: svn://tug.org/texlive/trunk@4 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/cdbuild/tpm2files.xsl')
-rw-r--r-- | Build/cdbuild/tpm2files.xsl | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Build/cdbuild/tpm2files.xsl b/Build/cdbuild/tpm2files.xsl new file mode 100644 index 00000000000..b556df2ca09 --- /dev/null +++ b/Build/cdbuild/tpm2files.xsl @@ -0,0 +1,48 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + exclude-result-prefixes="exsl" + extension-element-prefixes="exsl" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:TPM="http://texlive.dante.de/" + version="1.0"> + +<xsl:output method="text" omit-xml-declaration="yes"/> + +<xsl:strip-space elements="*"/> + +<xsl:template match="/"> +<xsl:if test=".//TPM:BinFiles"> + <xsl:apply-templates select=".//TPM:BinFiles"/> + <xsl:text> </xsl:text> +</xsl:if> +<xsl:if test=".//TPM:DocFiles"> + <xsl:apply-templates select=".//TPM:DocFiles"/> + <xsl:text> </xsl:text> +</xsl:if> +<xsl:if test=".//TPM:SourceFiles"> + <xsl:apply-templates select=".//TPM:SourceFiles"/> + <xsl:text> </xsl:text> +</xsl:if> +<xsl:if test=".//TPM:RunFiles"> + <xsl:apply-templates select=".//TPM:RunFiles"/> + <xsl:text> </xsl:text> +</xsl:if> +</xsl:template> + +<xsl:template match="TPM:BinFiles"> + <xsl:value-of select="translate(normalize-space(.),' ',' ')"/> +</xsl:template> + +<xsl:template match="TPM:DocFiles"> + <xsl:value-of select="translate(normalize-space(.),' ',' ')"/> +</xsl:template> + +<xsl:template match="TPM:RunFiles"> + <xsl:value-of select="translate(normalize-space(.),' ',' ')"/> +</xsl:template> + +<xsl:template match="TPM:SourceFiles"> + <xsl:value-of select="translate(normalize-space(.),' ',' ')"/> +</xsl:template> + +</xsl:stylesheet> |