Hi,
I have an element like the following:
<parentElement>
<childElement>blah1</childElement>
<childElement>blah2</childElement>
<childElement>blah3</childElement>
<parentElement>
I basically want to loop through each child and create a text box with an incrementing id, so i basically want in HTML
<input type="text" name="child1" value="blah1"/>
<input type="text" name="child2" value="blah2"/>
<input type="text" name="child3" value="blah3"/>
I know how to use XSL attributes and to do basic formatting but am not sure how to incorporate loop variables into the inputs.
Any suggestions/links would be very useful,
Thanks,
MrPeds
I have an element like the following:
<parentElement>
<childElement>blah1</childElement>
<childElement>blah2</childElement>
<childElement>blah3</childElement>
<parentElement>
I basically want to loop through each child and create a text box with an incrementing id, so i basically want in HTML
<input type="text" name="child1" value="blah1"/>
<input type="text" name="child2" value="blah2"/>
<input type="text" name="child3" value="blah3"/>
I know how to use XSL attributes and to do basic formatting but am not sure how to incorporate loop variables into the inputs.
Any suggestions/links would be very useful,
Thanks,
MrPeds