xsl-list
[Top] [All Lists]

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

2006-07-12 10:54:11
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>