|
Subject: [xsl] Find the node with maximum elements From: Avaneesh Ramprasad <avaneesh@xxxxxxxxxxxxxx> Date: Sat, 3 Nov 2007 12:05:10 -0700 (PDT) |
Hello,
I have a requirement to write a xsl transformation to find the node which has the maximum number of elements
Below is a sample xml file
<Sample>
<Toyota>
<Car>Camry</Car>
<Car>Corrola</Car>
</Toyota>
<Honda>
<Car>Accord></Car>
<Car>Civic</Car>
<Car>Pilot</Car>
</Honda>
<Mitsubishi>
<Car>Lancer</Car>
<Car>Lancer</Car>
<Car>Lancer</Car>
</Mitsubishi>
<Hyundai>
<Car>Sonata</Car>
<Car>Accent</Car>
</Hyundai>
</Sample>
The xsl should return Honda and Mitsubishi
Would appreciate your help.
Thanks
Avaneesh
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Extract footnotes, J. S. Rawat | Thread | Re: [xsl] Find the node with maximu, G. Ken Holman |
| Re: [xsl] remove shape="rect" attri, B. Kamer | Date | Re: [xsl] Find the node with maximu, G. Ken Holman |
| Month |