RE: [xsl] for-each-group

Subject: RE: [xsl] for-each-group
From: thomas.maciejewski@xxxxxxxxx
Date: Mon, 12 Dec 2005 13:52:16 -0500
$sortColumn1 is the name of a column.

The record Data would look like this:


$sortColumn1 would looke like "value2"


Tom Maciejewski
Sociiti Ginirale
Information Technology
1221 Avenue of the Americas
New York, NY 10020
Tel. (212) 278-7103
Cell. (917) 690-9541

                      "Michael Kay"
                      <mike@xxxxxxxxxxx        To:
                      m>                       cc:
                                               Subject:  RE: [xsl]
                      12/12/2005 12:52
                      Please respond to

> What I want to do is to create a set of groups based on a
> condition.  like
> "foo='Internal'   is that allowed?

Yes, but showing your source and target documents would make it clearer
you want to achieve.
> what i have been trying is :
>             <xsl:for-each-group select="
> xmlReportOutput/reportOutput/records/record" group-by="
> saxon:evaluate($sortColumn1)!='Internal'">

We need to understand here what $sortColumn1 contains.

I'm finding it difficult to give you any more help than this. You haven't
given enough information to see what you are trying to achieve, or to see
where your code is wrong. Take a couple of steps back and start again.

Michael Kay

This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall be liable for the message if altered, changed or falsified.


Current Thread