home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Software / Freeware / Programare / Sharp / SharpDevelop_1.0.3.1761_Setup.exe / SVNChangelogToXml.xsl < prev    next >
Text File  |  2004-09-07  |  2KB  |  62 lines

  1. <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  2.     <xsl:template match="log">
  3.         <ChangeLog project="SharpDevelop">
  4.             <xsl:for-each select="./logentry">
  5.                 <Change>
  6.                     <xsl:attribute name="author">
  7.                         <xsl:variable name="orig_author" select="./author" />
  8.                         <xsl:variable name="author">
  9.                             <xsl:choose>
  10.                                 <xsl:when test="$orig_author = 'mikekrueger'">
  11.                                        <xsl:text>Mike Krueger</xsl:text>
  12.                                   </xsl:when>
  13.                                   <xsl:when test="$orig_author = 'roma'">
  14.                                        <xsl:text>Roman Taranchenko</xsl:text>
  15.                                   </xsl:when>
  16.                                   <xsl:when test="$orig_author = 'georgb'">
  17.                                        <xsl:text>Georg Brandl</xsl:text>
  18.                                   </xsl:when>
  19.                                 <xsl:when test="$orig_author = 'andreapaatz'">
  20.                                        <xsl:text>Andrea Paatz</xsl:text>
  21.                                   </xsl:when>
  22.                                 <xsl:when test="$orig_author = 'danielgrunwald'">
  23.                                        <xsl:text>Daniel Grunwald</xsl:text>
  24.                                   </xsl:when>
  25.                                   <xsl:when test="$orig_author = 'denise'">
  26.                                        <xsl:text>Denis Erchoff</xsl:text>
  27.                                   </xsl:when>          
  28.                                   <xsl:when test="$orig_author = 'markuspalme'">
  29.                                        <xsl:text>Markus Palme</xsl:text>
  30.                                   </xsl:when>
  31.                                   <xsl:when test="$orig_author = 'ivoko'">
  32.                                        <xsl:text>Ivo Kovacka</xsl:text>
  33.                                   </xsl:when>
  34.                                   <xsl:when test="$orig_author = 'jfreilly'">
  35.                                        <xsl:text>John Reilly</xsl:text>
  36.                                   </xsl:when>
  37.                                   <xsl:when test="$orig_author = 'christophw'">
  38.                                        <xsl:text>Christoph Wille</xsl:text>
  39.                                   </xsl:when>
  40.                                   <xsl:when test="$orig_author = 'alexandre'">
  41.                                     <xsl:text>Alexandre Semenov</xsl:text>
  42.                                   </xsl:when>
  43.                                   <xsl:when test="$orig_author = 'nikola'">
  44.                                     <xsl:text>Nikola Kavaldjiev</xsl:text>
  45.                                   </xsl:when>
  46.                                   <xsl:otherwise>
  47.                                       <xsl:value-of select="./author" />
  48.                                   </xsl:otherwise>
  49.                             </xsl:choose>
  50.                         </xsl:variable>
  51.                         <xsl:value-of select="$author" />
  52.                     </xsl:attribute>
  53.                     <xsl:attribute name="date">
  54.                         <xsl:value-of select="./date" />
  55.                     </xsl:attribute>
  56.                     <xsl:value-of select="./msg" />
  57.                  </Change>
  58.             </xsl:for-each>
  59.         </ChangeLog>
  60.     </xsl:template>
  61. </xsl:transform>
  62.