| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl" version="1.0"> |
| |
| <xsl:output omit-xml-declaration="yes" indent="yes"/> |
| |
| <xsl:param name="repoPath"/> |
| |
| <xsl:template match="/"> |
| |
| <xsl:for-each select="/repository/units/unit[provides/provided/@namespace = 'org.eclipse.equinox.p2.eclipse.type' and provides/provided/@name = 'bundle']"> |
| <xsl:sort select="@id"/> |
| <xsl:if test="properties/property[@name='iplog.bug_id']"> |
| <xsl:variable name="email" select="properties/property[@name='iplog.contact.email']/@value"/> |
| |
| <tr valign="top"> |
| <td width="20%" > |
| <a href="{$repoPath}/plugins/{@id}_{@version}.jar"> |
| <xsl:value-of select="@id" /> |
| </a> |
| </td> |
| <td width="5%"> |
| <a href="{$repoPath}/plugins/{@id}.source_{@version}.jar"> |
| (source) |
| </a> |
| </td> |
| <td width="5%"> |
| <!-- translate() replaces individual characters --> |
| <xsl:value-of select="translate(properties/property[@name='maven-version']/@value,'-SNAPSHOT','')" /> |
| </td> |
| <td width="8%"> |
| <a href="https://dev.eclipse.org/ipzilla/show_bug.cgi?id={properties/property[@name='iplog.bug_id']/@value}"> |
| <xsl:value-of select="properties/property[@name='iplog.bug_id']/@value" /> |
| </a> |
| </td> |
| <td width="15%"> |
| <a href="mailto:{$email}"> |
| <xsl:value-of select="properties/property[@name='iplog.contact.name']/@value" /> |
| </a> |
| </td> |
| </tr> |
| </xsl:if> |
| </xsl:for-each> |
| |
| </xsl:template> |
| |
| </xsl:stylesheet> |