|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Find the node with maximum elements
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






