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

showing one number of inputs

Subject: showing one number of inputs
From: "Dionisio Ruiz de Zarate" <dionisio@xxxxxxxxxxxxx>
Date: Thu, 12 Jun 2003 02:37:17 +0200
 showing one number of inputs
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


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.