diff options
Diffstat (limited to 'Build/cdbuild/tpm2/xml2xml.xsl')
-rw-r--r-- | Build/cdbuild/tpm2/xml2xml.xsl | 698 |
1 files changed, 698 insertions, 0 deletions
diff --git a/Build/cdbuild/tpm2/xml2xml.xsl b/Build/cdbuild/tpm2/xml2xml.xsl new file mode 100644 index 00000000000..da045951e48 --- /dev/null +++ b/Build/cdbuild/tpm2/xml2xml.xsl @@ -0,0 +1,698 @@ +<?xml version="1.0"?> +<xsl:stylesheet + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:TPM="http://texlive.dante.de/" + exclude-result-prefixes="rdf TPM" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:output method="xml" indent="yes" doctype-system="tpm2.dtd"/> + + <xsl:key name="CATS" match="cat" use="@name"/> + + <xsl:key name="SYS" match="system" use="@name"/> + +<xsl:template match="entry"> + +<xsl:variable name="Name"> + <xsl:value-of select="@id"/> +</xsl:variable> + + +<TPM id="{@id}"> +<Name><xsl:value-of select="about/name"/></Name> +<Title><xsl:value-of select="about/caption"/></Title> +<Source> + <Authorgroup> + <Author> + <Forename> + <xsl:value-of select="substring-before(concat(about/author/name,' '),' ')"/> + </Forename> + <Surname> + <xsl:value-of select="substring-after(about/author/name,' ')"/> + </Surname> + <Email> + <xsl:value-of select="about/author/email"/> + </Email> + </Author> + </Authorgroup> + <License type="{about/license/@type}"/> + <Date> + <xsl:value-of select="about/version/released"/> +</Date> + <Version> + <xsl:value-of select="about/version/number"/> +</Version> + <Home> + <Link url="{about/author/home}"/> + </Home> + <Description> + <xsl:value-of select="description/abstract"/> + </Description> +</Source> + +<xsl:variable name="ctan"> + <xsl:value-of select="distribution/ctan"/> +</xsl:variable> + +<Classification> + <Status>optional</Status> + <Platform> + <xsl:variable name="p"> + <xsl:for-each select="document('cats.xmlcat')/cats"> + <xsl:for-each select="key('SYS',$Name)"> + <xsl:value-of select="@value"/> + </xsl:for-each> + </xsl:for-each> +</xsl:variable> +<xsl:choose> + <xsl:when test="$p=''">any</xsl:when> + <xsl:otherwise> + <xsl:value-of select="$p"/> + </xsl:otherwise> +</xsl:choose> +</Platform> + <Categories> + <xsl:if test="starts-with(distribution/ctan,'macros')"> + <Category type="macros"> + <xsl:value-of select="substring-after(distribution/ctan,'macros/')"/> + </Category> + </xsl:if> + <xsl:for-each select="document('cats.xmlcat')/cats"> + <xsl:for-each select="key('CATS',$Name)"> + <Category type="{@type}"><xsl:value-of select="@value"/></Category> + </xsl:for-each> + </xsl:for-each> + </Categories> + <Keywords> + <Keyword></Keyword> + </Keywords> + <Pointers> + <xsl:for-each select="about/xref"> + <Relates name="{@refid}"/> + </xsl:for-each> + </Pointers> + <XPointers></XPointers> + <Documentation><xsl:value-of select="description/documentation"/></Documentation> +</Classification> + +<Build> + <xsl:choose> + <xsl:when test="$Name='feynmf'"> + <Ins><Pattern>feynmf.ins</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='koma-script'"> + <Ins><Pattern>komascr.ins</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='localloc'"> + <Ins><Pattern>localloc.dtx</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='bosisio'"> + <Ins><Pattern>*.dtx</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='babel'"> + <Ins><Pattern>babel.ins</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='paper'"> + <Ins><Pattern>install.02</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='thesis'"> + <Ins><Pattern>install.01</Pattern> + <Pattern>install.ndx</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='dotseqn'"> + <Ins><Pattern>dotseqn.dtx</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='stmaryrd'"> + <Ins><Pattern>stmaryrd.dtx</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='tugboat'"> + <Ins><Pattern>tugboat.ins</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='iso'"> + <Ins><Pattern>alliso.ins</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='ccfonts'"> + <Ins><Pattern>ccfonts.ins</Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='lettre'"> + <Ins><Pattern></Pattern></Ins> + </xsl:when> + <xsl:when test="$Name='base'"> + <Ins><Pattern></Pattern></Ins> + </xsl:when> + <!-- + <xsl:otherwise> + <Ins><Pattern>*.ins</Pattern></Ins> + </xsl:otherwise> +--> + </xsl:choose> + <Run> + <xsl:choose> +<xsl:when test="$Name='ae'"> + <Pattern>*.fd</Pattern> + <Pattern>*.sty</Pattern> +</xsl:when> +<xsl:when test="$Name='base'"> + <Pattern>idx.tex</Pattern> + <Pattern>lablst.tex</Pattern> + <Pattern>latexbug.tex</Pattern> + <Pattern>lablst.tex</Pattern> + <Pattern>docstrip.tex</Pattern> + <Pattern>nfssfont.tex</Pattern> + <Pattern>sample2e.tex</Pattern> + <Pattern>small2e.tex</Pattern> + <Pattern>testpage.tex</Pattern> + <Pattern>ltxcheck.tex</Pattern> + <Pattern>*.cfg</Pattern> + <Pattern>*.fd</Pattern> + <Pattern>*.cls</Pattern> + <Pattern>*.clo</Pattern> + <Pattern>*.ltx</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>*.def</Pattern> + <Pattern>*.ist</Pattern> +</xsl:when> +<xsl:when test="$Name='babel'"> + <Pattern>bplain.tex</Pattern> + <Pattern>*.ldf</Pattern> + <Pattern>*.ltx</Pattern> + <Pattern>*.cfg</Pattern> + <Pattern>*.ist</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>*.clo</Pattern> + <Pattern>*.cls</Pattern> + <Pattern>*.def</Pattern> + <Pattern>*.fd</Pattern> +</xsl:when> +<xsl:when test="$Name='barr'"> + <Pattern>diagram.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='breqn'"> + <Pattern>*.sty</Pattern> + <Pattern>*.sym</Pattern> +</xsl:when> +<xsl:when test="$Name='calxxxx'"> + <Pattern>cal.**.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='carlisle'"> + <Pattern>*.sty</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>*.ltx</Pattern> +</xsl:when> +<xsl:when test="$Name='codepage'"> + <Pattern>*.sty</Pattern> + <Pattern>*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='custbib'"> + <Pattern>*.mbs</Pattern> + <Pattern>*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='cyrillic'"> + <Pattern>*.tex</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>*.fd</Pattern> + <Pattern>*.def</Pattern> +</xsl:when> +<xsl:when test="$Name='custom-bib'"> + <Pattern>*.mbs</Pattern> + <Pattern>*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='dialogl'"> + <Pattern>*.sty</Pattern> + <Pattern>listouti*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='ean'"> + <Pattern>ean[0-9]*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='euclide'"> + <Pattern>pst-eucl.tex</Pattern> + <Pattern>pst-eucl.sty</Pattern> +</xsl:when> +<xsl:when test="$Name='footnpag'"> + <Pattern>footnpag.sty</Pattern> +</xsl:when> +<xsl:when test="$Name='hyper'"> + <Pattern>*.sty</Pattern> + <Pattern>*.hyp</Pattern> +</xsl:when> +<xsl:when test="$Name='iso10303'"> + <Pattern>a.*tex</Pattern> + <Pattern>b.*tex</Pattern> + <Pattern>e.*tex</Pattern> + <Pattern>stp.*tex</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>*.4ht</Pattern> +</xsl:when> +<xsl:when test="$Name='isodate'"> + <Pattern>*.idf</Pattern> + <Pattern>*.sty</Pattern> +</xsl:when> +<xsl:when test="$Name='insbox'"> + <Pattern>insbox.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='jadetex'"> + <Pattern>*.ltx</Pattern> + <Pattern>*.def</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>*.ini</Pattern> + <Pattern>*.sty</Pattern> +</xsl:when> +<xsl:when test="$Name='karnaugh'"> + <Pattern>kvmacros.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='keystroke'"> + <Pattern>keystroke_.*</Pattern> + <Pattern>*.sty</Pattern> +</xsl:when> +<xsl:when test="$Name='lettre'"> + <Pattern>*.ins</Pattern> + <Pattern>*.cls</Pattern> +</xsl:when> +<xsl:when test="$Name='koma-script'"> + <Pattern>*.sty</Pattern> + <Pattern>*.cls</Pattern> + <Pattern>*.lco</Pattern> +</xsl:when> +<xsl:when test="$Name='kuvio'"> + <Pattern>*.tex</Pattern> + <Pattern>*.sty</Pattern> +</xsl:when> +<xsl:when test="$Name='manjutex'"> + <Pattern>*.sty</Pattern> + <Pattern>*.clo</Pattern> + <Pattern>*.ldf</Pattern> + <Pattern>*.cls</Pattern> + <Pattern>*.def</Pattern> + <Pattern>*.fd</Pattern> + <Pattern>manju.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='mff'"> + <Pattern>*.sty</Pattern> + <Pattern>mf[f]*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='ctib'"> + <Pattern>*.sty</Pattern> + <Pattern>*.clo</Pattern> + <Pattern>*.ldf</Pattern> + <Pattern>*.cls</Pattern> + <Pattern>*.def</Pattern> + <Pattern>*.fd</Pattern> + <Pattern>ctib*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='mfpic'"> + <Pattern>mfpic.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='minitoc'"> + <Pattern>*.sty</Pattern> + <Pattern>*.mld</Pattern> +</xsl:when> +<xsl:when test="$Name='misc'"> + <Pattern>*.sty</Pattern> + <Pattern>*.ltx</Pattern> + <Pattern>*.cls</Pattern> +</xsl:when> +<xsl:when test="$Name='ntheorem'"> + <Pattern>*.sty</Pattern> + <Pattern>*.std</Pattern> +</xsl:when> +<xsl:when test="$Name='patch'"> + <Pattern>*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='pdfslide'"> + <Pattern>*.jpg</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>*.clo</Pattern> + <Pattern>*.cfg</Pattern> + <Pattern>meta*.pdf</Pattern> +</xsl:when> +<xsl:when test="$Name='petri-nets'"> + <Pattern>pnets*.tex</Pattern> + <Pattern>pntext*.tex</Pattern> + <Pattern>pndraw*.tex</Pattern> + <Pattern>pnversion*.tex</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>pndraw*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='plgraph'"> + <Pattern>*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='pdfcprot'"> + <Pattern>*.cpa</Pattern> + <Pattern>*.sty</Pattern> +</xsl:when> +<xsl:when test="$Name='ppchtex'"> + <Pattern>m.*tex</Pattern> + <Pattern>m.*sty</Pattern> +</xsl:when> +<xsl:when test="$Name='pdfscreen'"> + <Pattern>overlay*.pdf</Pattern> + <Pattern>but*.pdf</Pattern> + <Pattern>left*.pdf</Pattern> + <Pattern>right*.pdf</Pattern> + <Pattern>pdfscreen.sty</Pattern> +</xsl:when> +<xsl:when test="$Name='prosper'"> + <Pattern>*.ps</Pattern> + <Pattern>*.eps</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>*.cls</Pattern> +</xsl:when> +<xsl:when test="$Name='pstricks'"> + <Pattern>pst-*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='qobitree'"> + <Pattern>qobitree.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='realcalc'"> + <Pattern>realcalc.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='rlepsf'"> + <Pattern>rlepsf.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='seminar'"> + <Pattern>*.bug</Pattern> + <Pattern>*.bg2</Pattern> + <Pattern>*.cls</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>2up.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='syntax'"> + <Pattern>syntax*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='startex'"> + <Pattern>*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='ticket'"> + <Pattern>*.tex</Pattern> + <Pattern>*.tdf</Pattern> +</xsl:when> +<xsl:when test="$Name='thumbpdf'"> + <Pattern>*.tex</Pattern> + <Pattern>*.sty</Pattern> +</xsl:when> +<xsl:when test="$Name='texsis'"> + <Pattern>*.txs</Pattern> + <Pattern>TXS.*tex</Pattern> + <Pattern>texsis.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='taylor'"> + <Pattern>diagrams.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='titlesec'"> + <Pattern>*.tss</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>ttlhref.tex</Pattern> + <Pattern>*.def</Pattern> +</xsl:when> +<xsl:when test="$Name='wordcount'"> + <Pattern>*.tex</Pattern> +</xsl:when> +<xsl:when test="$Name='zefonts'"> + <Pattern>*.sty</Pattern> + <Pattern>*.fd</Pattern> +</xsl:when> +<xsl:when test="$Name='tools'"> + <Pattern>*.cfg</Pattern> + <Pattern>*.ist</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>*.clo</Pattern> + <Pattern>*.cls</Pattern> + <Pattern>*.def</Pattern> + <Pattern>*.fd</Pattern> + <Pattern>*.tex</Pattern> +</xsl:when> +<!-- +<xsl:otherwise> + <Pattern>*.cfg</Pattern> + <Pattern>*.ist</Pattern> + <Pattern>*.sty</Pattern> + <Pattern>*.clo</Pattern> + <Pattern>*.ldf</Pattern> + <Pattern>*.cls</Pattern> + <Pattern>*.def</Pattern> + <Pattern>*.fd</Pattern> +</xsl:otherwise> +--> +</xsl:choose> + </Run> + <Doc> + <xsl:choose> + <xsl:when test="$Name='ae'"> + <Pattern>README</Pattern> + </xsl:when> + <xsl:when test="$Name='aguplus'"> + <Pattern>readme.pwd</Pattern> + <Pattern>aguplus.tex</Pattern> + <Pattern>shorthnd.tex</Pattern> + </xsl:when> + <xsl:when test="$Name='antyktor'"> + <Pattern>*.inf</Pattern> + </xsl:when> + <xsl:when test="$Name='barr'"> + <Pattern>diagdoc.dvi</Pattern> + <Pattern>diagdoc.tex</Pattern> + </xsl:when> + <xsl:when test="$Name='base'"> + <Pattern>*.err</Pattern> + <Pattern>*.txt</Pattern> + <Pattern>.*info.tex</Pattern> + <Pattern>.*guide.*tex</Pattern> + <Pattern>.*news.*tex</Pattern> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='calxxxx'"> + <Pattern>readme.tex</Pattern> + </xsl:when> + <xsl:when test="$Name='chess'"> + <Pattern>*.ltx</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='codepage'"> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='clock'"> + <Pattern>texclock.*</Pattern> + <Pattern>[A-Z]*</Pattern> + </xsl:when> + <xsl:when test="$Name='custbib'"> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='custom-bib'"> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='cyrillic'"> + <Pattern>*.txt</Pattern> + </xsl:when> + <xsl:when test="$Name='emp'"> + <Pattern>manual.ps</Pattern> + </xsl:when> + <xsl:when test="$Name='feynmf'"> + <Pattern>man*.*</Pattern> + <Pattern>Tutorial</Pattern> + <Pattern>Feynman*.Diagrams</Pattern> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='fncychap'"> + <Pattern>*.ps</Pattern> + </xsl:when> + <xsl:when test="$Name='footnpag'"> + <Pattern>footnpag-doc.sty</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='fp'"> + <Pattern>*.dvi</Pattern> + <Pattern>example.tex</Pattern> + </xsl:when> + <xsl:when test="$Name='geometry'"> + <Pattern>README</Pattern> + <Pattern>*.pdf</Pattern> + <Pattern>*.doc</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='graphics'"> + <Pattern>grfguide.ps</Pattern> + <Pattern>*.dvi</Pattern> + <Pattern>*.tex</Pattern> + </xsl:when> + <xsl:when test="$Name='insbox'"> + <Pattern>*.dvi</Pattern> + <Pattern>demo.tex</Pattern> + <Pattern>*.eps</Pattern> + </xsl:when> + <xsl:when test="$Name='iso10303'"> + <Pattern>stepman.*</Pattern> + </xsl:when> + <xsl:when test="$Name='jadetex'"> + <Pattern></Pattern> + </xsl:when> + <xsl:when test="$Name='karnaugh'"> + <Pattern>kvdoc.tex</Pattern> + </xsl:when> + <xsl:when test="$Name='keystroke'"> + <Pattern>key*.tex</Pattern> + <Pattern>key*.pdf</Pattern> + <Pattern>README</Pattern> + </xsl:when> + <xsl:when test="$Name='koma-script'"> + <Pattern>scrguide-english</Pattern> + <Pattern>.*TXT</Pattern> + <Pattern>.*Log</Pattern> + <Pattern>Readme</Pattern> + <Pattern>README</Pattern> + <Pattern>.*read.*</Pattern> + <Pattern>*.txt</Pattern> + <Pattern>*.gif</Pattern> + <Pattern>*.pdf</Pattern> + <Pattern>*.doc</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>*.dvi</Pattern> + <Pattern>*.ps</Pattern> + </xsl:when> + <xsl:when test="$Name='mfnfss'"> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='mltex'"> + <Pattern>mltex.txt</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='ogonek'"> + <Pattern>*.ltx</Pattern> + <Pattern>*.dvi</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>*.dvi</Pattern> + </xsl:when> + <xsl:when test="$Name='passivetex'"> + <Pattern>*.xml</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>README.*</Pattern> + </xsl:when> + <xsl:when test="$Name='patch'"> + <Pattern></Pattern> + </xsl:when> + <xsl:when test="$Name='pdfscreen'"> + <Pattern>*.png</Pattern> + <Pattern>*.pdf</Pattern> + <Pattern>manual*.tex</Pattern> + <Pattern>slide*.tex</Pattern> + <Pattern>*.specimen</Pattern> + </xsl:when> + <xsl:when test="$Name='pdfslide'"> + <Pattern>demo*.pdf</Pattern> + <Pattern>manual*.pdf</Pattern> + <Pattern>mpgraph*.pdf</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>*.mp</Pattern> + </xsl:when> + <xsl:when test="$Name='plgraph'"> + <Pattern></Pattern> + </xsl:when> + <xsl:when test="$Name='poligraf'"> + <Pattern>*.eps</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>README</Pattern> + </xsl:when> + <xsl:when test="$Name='psfrag'"> + <Pattern>*.dvi</Pattern> + <Pattern>*.tex</Pattern> + <Pattern>pfgguide.ps</Pattern> + </xsl:when> + <xsl:when test="$Name='qobitree'"> + <Pattern>example.tex</Pattern> + </xsl:when> + <xsl:when test="$Name='qsymbols'"> + <Pattern>qsymbols.ps</Pattern> + <Pattern>qsymbols.tex</Pattern> + </xsl:when> + <xsl:when test="$Name='rlepsf'"> + <Pattern>*.ps</Pattern> + </xsl:when> + <xsl:when test="$Name='rotating'"> + <Pattern>*.tex</Pattern> + <Pattern>*.dvi</Pattern> + <Pattern>cat.eps</Pattern> + </xsl:when> + <xsl:when test="$Name='taylor'"> + <Pattern>diagrams-manual.*</Pattern> + </xsl:when> + <xsl:when test="$Name='texsis'"> + <Pattern>*.dvi</Pattern> + <Pattern>*.doc</Pattern> + <Pattern>*.eps</Pattern> + <Pattern>[A-Z].*tex</Pattern> + <Pattern>README</Pattern> + <Pattern>NEWS</Pattern> + <Pattern>INSTALL</Pattern> + <Pattern>COPYING</Pattern> + </xsl:when> + <xsl:when test="$Name='textmerg'"> + <Pattern>*.dvi</Pattern> + <Pattern>*.dat</Pattern> + </xsl:when> + <xsl:when test="$Name='thumbpdf'"> + <Pattern></Pattern> + </xsl:when> + <xsl:when test="$Name='titlesec'"> + <Pattern>titlesec.tex</Pattern> + <Pattern>titlesec.dvi</Pattern> + <Pattern>readme</Pattern> + </xsl:when> + <xsl:when test="$Name='youngtab'"> + <Pattern></Pattern> + </xsl:when> + <!-- + <xsl:otherwise> + <Pattern>liesmich</Pattern> + <Pattern>LIESMICH</Pattern> + <Pattern>LICENSE</Pattern> + <Pattern>License</Pattern> + <Pattern>Read*</Pattern> + <Pattern>READ*</Pattern> + <Pattern>*.txt</Pattern> + <Pattern>*.gif</Pattern> + <Pattern>*.htm</Pattern> + <Pattern>*.TXT</Pattern> + <Pattern>*.pdf</Pattern> + <Pattern>*.doc</Pattern> + <Pattern>*.dvi</Pattern> + <Pattern>*.html</Pattern> + <Pattern>*.gif</Pattern> + <Pattern>*.jpg</Pattern> + <Pattern>00*</Pattern> + <Pattern>*.faq</Pattern> + <Pattern>*.bug</Pattern> +</xsl:otherwise> +--> +</xsl:choose> +</Doc> +</Build> + +<Install> +<Before></Before> +<After> + <xsl:for-each select="TPM:Installation/TPM:Execute"> + <Execute function="{@function}" parameter="{@parameter}"/> + </xsl:for-each> + </After> +</Install> + +<Remove> + <Before></Before> + <After></After> +</Remove> + +<xsl:if test="not($ctan='')"> + <CTAN><Location><xsl:value-of select="$ctan"/></Location></CTAN> +</xsl:if> + + +</TPM> + + </xsl:template> + + +</xsl:stylesheet> |