Re: [xsl] A beef with XSLT Sometimes too complicated

Subject: Re: [xsl] A beef with XSLT Sometimes too complicated
From: Nic James Ferrier <nferrier@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2006 13:08:31 +0100
David Carlisle <davidc@xxxxxxxxx> writes:

>> I hate the idea of 2 'if's in a language.
>
> depends whether you think xpath is a different language or the same
> language. If you don't like two ifs you not going to liek two for loops
> either
> <xsl:copy-of select="for $x in foo/x return $i"/>
> <xsl:for-each select="foo/x">
>   <xsl:copy-of select="."/>

No. /8->


-- 
Nic Ferrier
http://www.tapsellferrier.co.uk   for all your tapsell ferrier needs

Current Thread