Check out http://www.jenitennison.com/xslt/grouping/index.html
She has a great write-up of this and many other XSLT grouping issues.
- Justin
--- [EMAIL PROTECTED] wrote:
> Hello...
> I have a XML with many pictures data. i m making a XSLT to process
> it.
> i need a table like
> <table>
> <tr>
> <td>Picture 1</td>
> <td>Picture 2</td>
> <td>Picture 3</td>
> </tr>
> <tr>
> <td>Picture 4</td>
> <td>Picture 5</td>
> <td>Picture 6</td>
> </tr>
> </table>
>
> i dont know the quantity of pictures they can be 6 or 100...
> but i need them to be ordered in 3 columns and the nesesary rows.
> so i need to add a </tr><tr> every 3 images... i can do this with mod
> function.
> but i dont know how can i do to have the index of my xml:for-each
> if can do this incrementing a variable but i dont know how.
> Thanks in advance.
> Diego S. Macadar
> AldeaX.-
> Argentina
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/