Well I was not able to make it work...I did the following:I declared a xsl param <xsl:param name="pagenumber" select="1"/>
When the page loads I see the first record as expected. The goal is to press next and see the next record!!I copied the javascript function from the link you posted above in a page.js file and put the
<script language="javascript" src="page.js" />
in the head of the page.Finally I called the function from a button like this
<input type="button" value="Next" onclick="changePage(2)" />
When I press the buuton (and expect to see the second record) nothing hapens.I added the
document.write("error occured number="+number)
in the catch statement of the js function and then when I click the button i see "error occured number=2 "in my browser. I tried it in both MS IExplorer and firefox. So, the function is called, the parameter is passed, but an exception is thrown...(So the javascript code has some problem?)Can you help me by sending me a simple xstl page that does the work i want to do:to display one xml record at time using a parameter(using client side scripting).PSI am coding desktop applications for many years but I am newbie in web development, and -for now- I have not the required time to propertly study web development, I just have to implement this simple(?) task so please help me...