Subject: RE: [xsl] for-each-group From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sat, 17 Dec 2005 00:43:05 -0000 |
> 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] for-each-group, thomas . maciejewski | Thread | [xsl] How do I not ignore whitespac, Mark Wilson |
RE: [xsl] CDATA in CDATA?, Michael Kay | Date | [xsl] i need a progressive id..., Gianni G |
Month |