[xsl] how to show one number of input text fields. help please

Subject: [xsl] how to show one number of input text fields. help please
From: "Dionisio Ruiz de Zarate" <dionisio@xxxxxxxxxxxxx>
Date: Thu, 12 Jun 2003 09:38:49 +0200
HEllo i have one great problem, for me, and i am working in this problem
during 2 weeks and i cannot solve it.
the problem is:

i have one xml file with, for example, three nodes:
<texto titulo=\"uno\" url=\"\"/>
<texto titulo=\"uno\" url=\"\"/>
<texto titulo=\"uno\" url=\"\"/>

and i want to show the titulo of the nodes (texto) into some text input
fields (<input type="text"..).
I want to show 20 input text fields but only some of them will be with text,
in this examplo 3.
how can i make this?
how can i show 20 input text fields if only i have text for three of them.
i am trying with this:
<xsl:for-each select="texto[position() &lt; 20]">
<input type="text" name="mensaje" size="35">
<xsl:attribute name="value"><xsl:value-of select="@titulo"/></xsl:attribute>
</input>
but only appears in this method 3 text fields.
i want to show 20

can you help me please?
thanks



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread