Thanx Marcus,
Yes, it solves the problem, but i wonder why order-by doesn't work? any
comments?
----- Original Message -----
From: "Marcus Rueckert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 25, 2001 7:03 PM
Subject: Re: xsl:for-each order-by gives error


> hi
>
> try the following
> > <xsl:for-each select="book" order-by="+ title">
> <xsl:for-each select="book">
>   <xsl:sort select="title"  />
> > <tr bgcolor="#C0C0C0">
> > <td><xsl:value-of select="title"/></td>
> > <td><xsl:value-of select="author"/></td>
> > </tr>
> > </xsl:for-each>
>
> hope this helps.
>
> Marcus Rueckert
>
> --
> "damit wollte ich nur sagen
>  manch einer mag dich anders als du bist
>  aber bleib so weil zweimal gibs dich nicht"
> die oberste direktive (feat. Fanstar) - Mir reicht's nich'
(http://direktive.net)
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to