[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

how to show one number of input text fields. help plea

Subject: 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
xsl input text
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.