Re: [xsl] Conditional xsl:sort and leaving some items out of sorting

Subject: Re: [xsl] Conditional xsl:sort and leaving some items out of sorting
From: Abel Braaksma Online <abel.online@xxxxxxxxx>
Date: Wed, 12 Jul 2006 19:54:26 +0200
Hi David,

Thanks for your quick reply. It is pretty clear and I could have known, but I often have dificulties thinking in result sets.

I was not aware of the fact that multiple sort items could be used consecutively. Very handy. Btw, I removed the comma after "None" in your statement. It produced an error. I guess it was not supposed to be there ;)

Cheers, and thanks again,
Abel

David Carlisle wrote:

But this is illegal syntax, as xsl:sort cannot be a child of xsl:if. It doesn't trigger an error either, by the way.


It should generate an error.


I tested this on FireFox. Its XSLT parser (TransformIIX, I believe) did not return any failure code. But didn't output anything either.

Current Thread