Amol
March 5th, 2002, 11:48 AM
I have a very peculiar problem in xsl. I want to form a grid of HTML text boxes using XML / XSL combination. The screen is going to be like this:
The user will enter a count in a textbox. He can enter a value from 1 to 200, corresponding to which the no. of rows of textboxes should get formed.So if a user enters 150 , i should be able to form 150 rows of textboxes.Right now I have done it using java script function on a button click.I have used a for loop in java script.But, the execution of this loop in java script is very slow and it takes long time to for grid to show up on the screen. The other alternative is to shift this loop in xsl. I want to know how XSL loop can be used to form this simple HTML grid.There is no real XML , i.e. , data involved here. Does anyone know solution ?
The user will enter a count in a textbox. He can enter a value from 1 to 200, corresponding to which the no. of rows of textboxes should get formed.So if a user enters 150 , i should be able to form 150 rows of textboxes.Right now I have done it using java script function on a button click.I have used a for loop in java script.But, the execution of this loop in java script is very slow and it takes long time to for grid to show up on the screen. The other alternative is to shift this loop in xsl. I want to know how XSL loop can be used to form this simple HTML grid.There is no real XML , i.e. , data involved here. Does anyone know solution ?