I want to do something like the first one.

<table>
  <tbody>
    <xsl:for-each select="*">
        <xsl:when test="local-name() = 'abweichungen'">
          <tr>
            <th>Achtung Abweichungen:</th><th></th>
          </tr>
        </xsl:when>
        <xsl:otherwise>
          <tr>
            <td><xsl:value-of select="local-name()" /></td><td><xsl:value-of
select="."/></td>
          </tr>
        </xsl:otherwise>
    </xsl:for-each>
  <tbody>
<table>

But neither the 'when' nor the 'otherwise' are executed. Strange!

This one here is working:

<table>
  <tbody>
    <xsl:for-each select="*">
        <tr>
          <td><xsl:value-of select="local-name()" /></td>
          <td><xsl:value-of select="."/></td>
      </tr>
    </xsl:for-each>
  </tbody>
</table>


So, what's wrong??


Thanks,
BArthi


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]