Subject: [xsl] How to make a loop ? From: "Alain ROY" <ra81@xxxxxxxxx> Date: Wed, 28 Jul 2004 04:46:29 -0500 |
Hi all, I want to make a table which may contain always the same number of rows (actually 5 but this can change later). I want to fill this table with nodes values (let's say "info" for example). If there are less "info" nodes than the number of rows I chose for my table, I want to complete it with empty rows. If there are more "info" nodes than the number of rows of my table, I want to fill the table with only the n firsts info nodes values (n=number of rows of my table). To fill my table I made a template for the rows. So I'd like to make a loop which will always call this template n times with a parameter info[x] x=1..n What's the best way to do that ? Regards AR -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] DocBook to plain text - w, David . Pawson | Thread | Re: [xsl] How to make a loop ?, cking |
Re: [xsl] can you select name() of , David Carlisle | Date | Re: [xsl] can you select name() of , Ragulf Pickaxe |
Month |