You'd better revert to the xsl-list with these questions..

Anyhow:

You have to wrap xsl:when and xsl:otherwise elements in a xsl:choose element to 
make them work.

        <xsl:when test="local-name() = 'abweichungen'">

Besides: you can use test="self::abweichungen" if your elements are not 
namespaced..

Cheers,
Geert

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