After sending this email I realized that my or in my group-by field
actually worked.
<xsl:for-each-group
select="xmlReportOutput/reportOutput/records/record"
group-by="saxon:evaluate($sortColumn1)='Buy' or
saxon:evaluate($sortColumn1)='Sell'">
If I had more than two values is there a better way to
emulate a SQL IN clause?
As stated in previous reply: use (X = ('a', 'b', 'c'))
I thought we had also established that you could replace the very expensive
construct saxon:evaluate($sortColumn1) with the much cheaper (and more
standard) *[name()=$sortColumn1].
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--