|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: counting and displaying with xsl?
Hi, i think you can use the childNumber(this) method maybe with a javascript function that checks if modul 5 is 0. -----Original Message----- From: juggy@xxxxxxx [mailto:juggy@xxxxxxx] Sent: Wednesday, June 07, 2000 2:07 AM To: xsl-list@xxxxxxxxxxxxxxxx Subject: counting and displaying with xsl? Hi, Is there any way to use xsl to count the number of items in my xml? I'd like to know this so I could arrange them according to their number (e.g. have a line break every 5 items). I think of something like <xsl:if "count > 5"> ARRANGE NORMAL <xsl:if-otherwise> LINEBREAK ARRANGE NORMAL ... Juggy XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|

Cart








