xsl-list
[Top] [All Lists]

showing one number of inputs

2003-06-11 17:37:17
hello y this XML i have only three lines with the texto node.
<texto titulo=\"uno\" url=\"\"/>
<texto titulo=\"uno\" url=\"\"/>
<texto titulo=\"uno\" url=\"\"/>

i want to make one form with 20 inputs and int these inputs (<input
type="text"..) to put the the titulo value.
in this XML only are three values and i want to appears the first three
values with the titulo value and the rest without text.
if will be 5 texto nodes the first 5 input with the values ...
for this pourpose i have make 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>
<br />
</xsl:for-each>

but it doesn't run. only shows me the number of lines that tehre are into
the XML file,
how can i to make for appears 20?

thanks



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



<Prev in Thread] Current Thread [Next in Thread>
  • showing one number of inputs, Dionisio Ruiz de Zarate <=