XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
vinayak akkasaliSubject: getting the count
Author: vinayak akkasali
Date: 20 Aug 2009 12:27 AM
Hi,
i need to get a count of how many times the loop is executed.
How this can be achieved?
I java we achieve this using counters.
please explain how to achieve in xslt.

Posttop
Tony LavinioSubject: getting the count
Author: Tony Lavinio
Date: 20 Aug 2009 09:22 AM
XSLT doesn't work like that.

You can could how many objects match the criteria that the "loop"
would use in executing, which will give the equivalent answer, but
XSLT in a function language, not a procedural one.

If you are a Stylus Studio user, please let us know which version
(see http://www.stylusstudio.com/SSDN/default.asp?action=27&style=WebBoard
to find the version), and then show us the code you are trying to use.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.