diff options
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> |