|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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() < 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








