|
-
Feb 22nd, 2002, 02:01 AM
#1
Thread Starter
Member
This could be a DumbAss Question
Sorry if this question sounds really stupid, but that will mean that the answer is really simple which will be good for all of us.
My question is concerning XSL
I want to know if there is a way to count how many records have been read, and if the record is the last one using a "for each".
I've tried incrementing a variable and coudn't get it to work (and that would help me with detecting the last record any way) so I'm clueless.
Thanks.
-
Feb 22nd, 2002, 06:15 AM
#2
Fanatic Member
-
Feb 22nd, 2002, 06:22 AM
#3
Thread Starter
Member
Let me explain my problem a bit better.
I'm using ASP & XSL to search an XML document. When I display the results (using an XSL Stylesheet) I want to be able to show a message if no results were found. Also I would like to be able to only display a set number of results per page (like a proper search engine does), but I can't seem to find a way to do either of the above.
-
Feb 22nd, 2002, 06:43 AM
#4
Addicted Member
This might help (assuming XSLT is the same as XSL): Have a look at DevGuru. It lists all the functions. There's a count function that may be of some use and others such as Last.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|