Moin,
versuch's mal folgendermaßen ...
<xsl:for-each select="/issue/fields">
<tr>
<td><xsl:value-of select="field[@fieldname = 'ID:' ]"/></td>
<td><xsl:value-of select="field[@fieldname = 'Type:' ]"/></td>
<td><xsl:value-of select="field[@fieldname = 'Summary:' ]"/></td>
<td><xsl:value-of select="field[@fieldname = 'State:' ]"/></td>
<td><xsl:value-of select="field[@fieldname = 'Assigned User:']"/></td>
<td><xsl:value-of select="field[@fieldname = 'Project:' ]"/></td>
</tr>
</xsl:for-each>
>
danke für die fixe Antwort, aber das klappt noch nciht ganz...
ich habe jetz das XSLT:
~~~xml
<table border ="1">
<tr>
<th>ID</th>
<th>Type</th>
<th>Summary</th>
<th>State</th>
<th>Assaigned User</th>
<th>Project</th>
</tr>
<xsl:for-each select="/issue/fields">
<tr>
<td><xsl:value-of select="field[@fieldname = 'ID:' ]"/></td>
<td><xsl:value-of select="field[@fieldname = 'Type:' ]"/></td>
<td><xsl:value-of select="field[@fieldname = 'Summary:' ]"/></td>
<td><xsl:value-of select="field[@fieldname = 'State:' ]"/></td>
<td><xsl:value-of select="field[@fieldname = 'Assigned User:']"/></td>
<td><xsl:value-of select="field[@fieldname = 'Project:' ]"/></td>
</tr>
</xsl:for-each>
</table>
und bekomme das HTML:
<table border="1">
<tr>
<th>ID</th><th>Type</th><th>Summary</th><th>State</th><th>Assaigned User</th><th>Project</th>
</tr>
</table>