| Subject: [xsl] counting nodes based on text within From: "Nouwens, H.J.P." <H.J.P.Nouwens@xxxxxxxxxxxxxxx> Date: Tue, 23 Oct 2001 15:51:16 +0200 | 
Hi there, can you help me?
I have a piece of xml like this. I want to convert it to al list (table) of
date, email adresses and choice. That I can do, that's easy.
Now I want to start of the page with a summary like:
number of people choose "item a" is 2
number of people choose "item b" is 1
The number of choices is limited to 5. I'm willing to duplicate a piece of
code 5 times :-) But a generic solution will surely be nicer...
Thanks!
<thexml>
  <line date="10-22-2001,11:32:01">
        <Email>h.j.p.nouwens@xxxxxxxxxxxxxxx</Email>
        <choice>item a</choice>
  </line>
  <line date="10-22-2001,11:33:04">
        <Email>h.j.p.nouwens@xxxxxxxxxxxxxxx</Email>
        <choice>item b</choice>
  </line>
  <line date="10-22-2001,11:36:26">
        <Email>J.Jansen@xxxxxxxxxxxxxxx</Email>
        <choice>item a</choice>
  </line>
</thexml>
Hans Nouwens
Coordinator informatieDiensten
I&A Contactpersoon afdeling TA
.OU=i&a.OU=CiTG.O=TUDelft.C=NL
telefoonnr.(+31)(0)15-27.87454
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| AW: [xsl] Getting at original docum, Ursprung Manfred | Thread | Re: [xsl] counting nodes based on t, Jörg Heinicke | 
| Re: [xsl] Access to RowsetSchema at, Jeni Tennison | Date | Re: [xsl] Getting at original docum, Oleg Tkachenko | 
| Month |