[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: newbie question...
Hi Terje, > Since I'm new at this, what I did was just copy/paste the code you > sent me. It worked, but I only got the first element in each table. > How do I get the next 21 elements in each table? The template matching ROW elements should have got the next 21 elements in each table. It collects them together in the $rows variable and then uses them to create the rows. > You said: >>Then create the cells in each row by iterating over $rows. > but because I'm not english, I don't quite understand "by > iterating". It means 'go through one by one'. In: <xsl:for-each select="$rows"> <td><xsl:value-of select="PNS" /></td> </xsl:for-each> You're iterating over the ROW elements held in the $rows variable, going through them one by one, and for each of them generating a td element that holds the value of the PNS child element of the ROW. I tried out the template on a bit of sample code and it worked fine; perhaps you could send me the XSLT that you're using - maybe you have a template that's overriding the one matching the ROW elements somewhere? Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|