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/tpm2xml.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/tpm2xml.xsl')
-rw-r--r-- | Build/cdbuild/tpm2xml.xsl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Build/cdbuild/tpm2xml.xsl b/Build/cdbuild/tpm2xml.xsl new file mode 100644 index 00000000000..9d7eb650ffd --- /dev/null +++ b/Build/cdbuild/tpm2xml.xsl @@ -0,0 +1,33 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:TPM="http://texlive.dante.de/" + version="1.0" + xmlns:xtfile="http://www.jclark.com/xt/java/java.io.File" + xmlns:xt="http://www.jclark.com/xt" + extension-element-prefixes="xt"> + +<xsl:output method="xml"/> + +<xsl:variable name="Master">/texlive/Master/</xsl:variable> + +<xsl:variable name="package"> + <xsl:value-of select="/rdf:RDF/rdf:Description/TPM:Name"/> +</xsl:variable> + +<xsl:template match="/"> + <xsl:apply-templates select="rdf:Description"/> +</xsl:template> + +<!-- default template, identity transform, text normalized --> +<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> |