[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Re:


Subject: [xsl] Re:
From: Mukul Gandhi <mukulgandhi2003@xxxxxxxxxxx>
Date: Sat, 10 Jan 2004 06:37:00 +0000 (GMT)

I feel, a node-set function, along with Muenchian
Grouping technique, should solve the problem.
Muenchian Grouping is explained nicely at Dave
Pawson's site.

The <Grade> RTF (Result Tree Fragment), would be kept
as a nodeset. A second level of Muenhian grouping, if
applied to this nodeset, would solve the problem.

Regards,
Mukul

 --- kakridge@xxxxxxxxxxxxx wrote: > I have been
having a problem with grouping.  If I
> have:
> 
> <School>
> 	<Grade>
> 		<Students>
> 			<Student>
> 				<Name>Bob</Name>
> 				<Tutor>Mary Smith</Tutor>
> 			</Student>
> 			<Student>
> 				<Name>Joe</Name>
> 				<Tutor>Mike Smith</Tutor>
> 			</Student>
> 		<Students>
> 		<Name>Kindergarten</Name>
> 	</Grade>
> 	<Grade>
> 		<Students>
> 			<Student>
> 				<Name>Ted</Name>
> 				<Tutor>Mary Smith</Tutor>
> 			</Student>
> 			<Student>
> 				<Name>Sammy</Name>
> 				<Tutor>Mike Smith</Tutor>
> 			</Student>
> 		</Students>
> 		<Name>First</Name>
> 	</Grade>
> </School>
> 
> How can I group each grade, and within each grade,
> group all tutors with
> their students?
> 
> Something like this:
> 
> Grade: Kindergarten
> Tutor: Mary Smith
> Students: Bob,.,.,.
> 
> Grade: Kindergarten
> Tutor: Mike Smith
> Students: Joe,.,.,.
> 
> Grade: First
> Tutor: Mary Smith
> Students: Ted,.,.,.
> 
> etc.
> 
> Thanks
> 
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
>  

________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
  • [no subject]
    • kakridge - Fri, 9 Jan 2004 18:17:22 -0500
      • Wendell Piez - Fri, 09 Jan 2004 18:58:05 -0500
        • kakridge - Fri, 9 Jan 2004 19:50:22 -0500
      • Mukul Gandhi - Sat, 10 Jan 2004 06:37:00 +0000 (GMT) <=
      • Mukul Gandhi - Sat, 10 Jan 2004 08:18:13 +0000 (GMT)
        • kakridge - Sat, 10 Jan 2004 11:00:16 -0500
          • kakridge - Sat, 10 Jan 2004 12:29:51 -0500
          • kakridge - Sat, 10 Jan 2004 21:32:47 -0500