[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: number of rows

Subject: RE: number of rows
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 2 Dec 2003 15:58:25 +0200
xsl number of rows
Hi,

> > which evaluated to "10"? 
> ah, now that depends, the poster didn't show the full code, in
> particular didn't show the current node at the point the template was
> called, so perhaps nofrows evaluated to nothing....

His pseudo-code was

  for(i=0;i<nofrows;i++){
  here print <td><xsl:value-of="xxx"/></td>
  }

thus I assumed context node would have a nofrows child. But you're right, for a question of that level one should be more specific and not rely on defaults. Seems my balancing between verbosity and brevity always results in the wrong choice :(

Cheers,

Jarno - Revolution By Night: Faithless (Pandora) (by Assemblage 23)

… I really like this remix…

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.