Here is my sample xml
<STUDENT_INFOs>
<STUDENT_INFO>
<STUDENT_COUNT>1</STUDENT_COUNT>
<STDNT_ID>xxxxxxxxx</STDNT_ID>
<STDNT_NAME>someone1</STDNT_NAME>
<STREET_ADDRESS>address1</STREET_ADDRESS>
</STUDENT_INFO>
<STUDENT_INFO>
<STUDENT_COUNT>2</STUDENT_COUNT>
<STDNT_ID>yyyyyyyyy</STDNT_ID>
<STDNT_NAME>someone2</STDNT_NAME>
<STREET_ADDRESS>address2</STREET_ADDRESS>
</STUDENT_INFO>
:
:
upto 50 student info
</STUDENT_INFOs>
I would like to display this using xslt such that I have 5 student names in the first row and the next 5 in the 2nd row and so on.
How do I do that? My <xsl:for-each> is giving me 1 student per row. Hope my question is clear. Thanks for the help.