> <xsl:variable name="wand_ID" select="Wand_id_Liste/wand_id"/>
Are you sure this expression results only one wand_id?
<xsl:if test="generate-id(.) = generate-id($wand_ID)">
You could use: string(.) = string($wand_ID) to be clearer. This also takes the first wand_id element from the $want_ID variable..
> <xsl:sort select="." order="ascending" > data-type="text"/> Put the sort just below the xsl:for-each open tag. I think this error is masking other ones.
<xsl:for-each select="//[EMAIL PROTECTED]/Wand/Oeffnungs_Liste/Oeffnung">
Variable names are case sensitive: use $wand_ID instead of $wand_id. Cheers, Geert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]