xsl-list
[Top] [All Lists]

Re: how to show one number of input text fields. help please

2003-06-12 21:49:32
simply use FXSL:

http://aspn.activestate.com/ASPN/Mail/Message/1208919


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL



"Dionisio Ruiz de Zarate" <dionisio(_at_)tinieblas(_dot_)com> wrote in message
news:000d01c330b5$aa5978b0$0201a8c0(_at_)lpis(_dot_)(_dot_)(_dot_)
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






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



<Prev in Thread] Current Thread [Next in Thread>