Subject: [xsl] showing one number of inputs From: "Dionisio Ruiz de Zarate" <dionisio@xxxxxxxxxxxxx> Date: Thu, 12 Jun 2003 02:37:17 +0200 |
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() < 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] putting the value from th, David Totten | Thread | [xsl] Inserting commented elements , Steve Schwarz |
Re: [xsl] XPath Data model, G. Ken Holman | Date | Re: [xsl] putting the value from th, David Totten |
Month |