473,472 Members | 2,241 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

XSL output using ASP

This problem has been bothering me for a couple of days now. I'm trying to
get a small xml based search engine to output 20 results on one page then 20
on the next page when you click a link and so on. I've got it sort of
working to the extent that the first first page outputs 20 results but when
I click next the next 20 results aren't displayed, to see what I mean click
the following link, press search (without entering anything) and then click
next page.
http://www.madtim67.com/guitar/index.html

Here are the files I use to try and achieve this in text form so they can be
viewed easier.
search.asp http://www.madtim67.com/guitar/temp/search.txt
search_results.xsl
http://www.madtim67.com/guitar/temp/search_results.txt
next.asp http://www.madtim67.com/guitar/temp/next.txt

search.asp does what it's supposed to, it takes text entered into the text
field of my form, splits it up into a maximum of 5 words (to search
individual words) and passes them onto search_results.xsl which again seems
to work properly because it outputs the first 20 results. I also passed the
"full" string onto this page as well because I thought it would be easier to
pass that on later as opposed to 5 individual words.

<xsl:param name="text0" />
<xsl:param name="text1" />
<xsl:param name="text2" />
<xsl:param name="text3" />
<xsl:param name="text4" />
<xsl:param name="full" />
<xsl:param name="startPos" select="1" />
<xsl:param name="recordsPerPage" select="20" />
<xsl:param name="endPos" select="$startPos + $recordsPerPage" />

I then try to pass the "full" string and "startPos" to the next.asp page
using the line
<a href="next.asp?id=full&amp;startPos={$endPos}">nex t page</a>

This is where the process breaks down.

Any Ideas?

Jul 22 '05 #1
0 1330

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Marcus | last post by:
Is there something that can be set in SQL to not print output to the screen? Something like SET NOCOUNT ON, only in this case, I don't want it to print any output except what my script specifies...
5
by: Jay Chan | last post by:
I am trying to use a command line program to run a stored procedure that generates output in a comma-delimitted format. Somehow, ISQL or OSQL always wrap the lines at 256 characters. I believe this...
4
by: rossum | last post by:
I have been looking at exceptions as I need to get better at using them. I came across an interesting effect, demonstrated below. When I ctrl-Z the input to throw an ios_base::failure, the...
3
by: danmc91 | last post by:
Hi, I'm just getting going with xml and xslt. I'm trying to write what are essentially man pages and I need 3 output formats. 1) nroff -man format for real man pages 2) html for an online...
4
by: Kevin Mansel via .NET 247 | last post by:
Ok, basically this is my problem. I'm building a console app tocall a dos program. So i'm using the Shell command to call theprogram, now depending on what happens, I want to read theoutput that...
6
by: Alec MacLean | last post by:
Hi, I've created a small application for our company extranet (staff bulletins) that outputs a list of links to PDF's that are stored in a SQL table. The user clicks a link and the PDF is...
8
by: Alec MacLean | last post by:
Hi, I'm using the DAAB Ent Lib (Jan 2006) for .NET 2.0, with VS 2005 Pro. My project is a Web app project (using the WAP add in). Background: I'm creating a survey system for our company, for...
6
by: Ben | last post by:
Hi We have a Dataset that has been populated from the output parameter of a Stored Procedure (@Output). I understand that I can extract a single item when the dataset is populated by a table...
5
by: amit.uttam | last post by:
Hey everyone, I've recently jumped big time into python and I'm working on a software program for testing automation. I had a question about proper logging of output. What I would like is: 1....
27
by: CarlosMB | last post by:
Hello, I am writing code that uses a DLL which is supposed to print to console some useful information but for some reason it is not doing so. The environment is a bit complex to explain but...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.