Subject: RE: [xsl] group data in XSL From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx> Date: Wed, 18 Aug 2004 16:42:05 +0000 |
HTH Vasu
From: Tham Tinh <khautinh@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: XSL List <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Subject: [xsl] group data in XSL Date: Wed, 18 Aug 2004 07:48:41 -0700 (PDT)
Hi all,
I have the following data and I would like to group them please help.
<?xml version="1.0" standalone="yes"?> <dsWMSRpt> <WMSReport> <AdministrationCode>ABC</AdministrationCode> <ReportUnitTitle>Financial Div/Headquarters</ReportUnitTitle> <PositionNumber> 0934</PositionNumber> </WMSReport> <WMSReport> <AdministrationCode>ABC</AdministrationCode> <ReportUnitTitle>Part Div</ReportUnitTitle> <PositionNumber> 4563</PositionNumber> </WMSReport> <WMSReport> <AdministrationCode>ABC</AdministrationCode> <ReportUnitTitle>Financial Div</ReportUnitTitle> <PositionNumber> K948</PositionNumber> </WMSReport> <WMSReport> <AdministrationCode>ABC</AdministrationCode> <ReportUnitTitle>Human Resource Div</ReportUnitTitle> <PositionNumber> 6453</PositionNumber> </WMSReport> <WMSReport> <AdministrationCode>ABC</AdministrationCode> <ReportUnitTitle>HumanResource Div</ReportUnitTitle> <PositionNumber> 9655</PositionNumber> </WMSReport> <WMSReport> <AdministrationCode>ABC</AdministrationCode> <ReportUnitTitle>Sale Div</ReportUnitTitle> <PositionNumber> SDWE</PositionNumber> </WMSReport> <WMSReport> <AdministrationCode>ABC</AdministrationCode> <ReportUnitTitle>Sale Div</ReportUnitTitle> <PositionNumber> 4577</PositionNumber> </WMSReport> </dsWMSRpt>
Now I would like the output to group as following
Administration Code: ABC Report Title: Financial Div Position Number: 0934 Position Number: K948
Administration Code: ABC Report Title: Part Div Position Number: 4563
Administration Code: ABC Report Title: Sale Div Position Number: SDWE Position Number: 4577
Administration Code: ABC Report Title: Human Resource Div Position Number: 6453 Position Number: 9655
=====
"It is essential to know that to be a happy person, a happy family, a happy society, it is very crucial to have a good heart, that is very crucial,"
Dalai Lama
__________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] group data in XSL, Michael Kay | Thread | RE: [xsl] group data in XSL, Vasu Chakkera |
[xsl] Logical in Count function, Tham Tinh | Date | Re: [xsl] Logical in Count function, David Carlisle |
Month |