[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hi,
Tempore 17:06:07, die 08/10/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Ian E. Powell <Ian.Powell@xxxxxxxxxxxxx>:
I'm not sure what you're looking for precisely (what ouput do you expect with the sample?) - but here's a guess:
Re: [xsl] Count() on Distinct, but want to include additional condition
Subject: Re: [xsl] Count() on Distinct, but want to include additional condition From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Wed, 10 Aug 2005 17:14:40 +0200 |
Hi,
Tempore 17:06:07, die 08/10/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Ian E. Powell <Ian.Powell@xxxxxxxxxxxxx>:
I am having a lil issue with a count(distinct element) situation. I am pretty new to XSLT scripting and the issue seems rather trivial. Generating the Unique MDBService elements works great but I also want to include 2 counts per distinct MDBservice based upon MDBDivision. (ie) count( MDBService and MDBDivision = "MCAP") & count( MDBService and MDBDivision = "HSS")
I'm not sure what you're looking for precisely (what ouput do you expect with the sample?) - but here's a guess:
count(key('service',MDBService)[MDBDivision ='MCAP']) & count(key('service',MDBService)[MDBDivision ='HSS'])
regards, -- Joris Gillis (http://users.telenet.be/root-jg/me.html) Vincit omnia simplicitas Keep it simple
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Count() on Distinct, but want, Ian E. Powell | Thread | [xsl] Sorted node set and following, Nick Fitzsimons |
[xsl] Count() on Distinct, but want, Ian E. Powell | Date | Re: [xsl] XSLT Element Precision, Jacquo Johnson |
Month |
Keywords