|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: for-each-group
> 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








