cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien DEHAY ...@zorel.org>
Subject Re: What's wrong with my XSL??
Date Tue, 17 Jan 2006 19:07:53 GMT
Hello.

Christian Barth a écrit :
> 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>
> 
The <xsl:when>...</xsl:when><xsl:otherwise>...</xsl:otherwise> should
be
in a <xsl:choose> element:
http://zvon.org/xxl/XSLTreference/OutputExamples/example_13_59_frame.html

Regards.
Aurélien.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message