I am new to XSLT. I have a requirement where I need to convert an XML file to XSLT. In that, I need to iterate in a loop to get all the values from an XML like
<books>
<book-00>
<science price=""/>
.
.
.
<\book-00>
<book-01>
<english price=""/>
.
.
.
.
<\book-01>
<book-nn>
<\book-nn>
<\books>
How can I write a for loop with the dynamic count by reading it from an XML node into XSLT?
<book-01>? if it not too late try to redefine those tags to<book index="01">, etc. so that you can handle them via<template match="book">construct.