select multiple within for-each

From: Date: Mon, 15 Jul 2002 08:52:23 +0000
Subject: select multiple within for-each
Groups: php.general 
Request: Send a blank email to php-general+get-107680@lists.php.net to get a copy of this message
This works OK with creating buttons but is not what I want. POST/INPUT <xsl:for-each select=". . . "> <xsl:sort/> <form> <xsl:attribute name="name">myform</xsl:attribute> <xsl:attribute name="action">list.php</xsl:attribute> <xsl:attribute name="method">post</xsl:attribute> <input> <xsl:attribute name="type">submit</xsl:attribute> <xsl:attribute name="name">insert</xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute> </input> </form> </xsl:for-each> ***This is what I would like to do but it does _not_ work and is wrong.*** POST/SELECT MULTIPLE <xsl:for-each select=". . . "> <xsl:sort/> <form> <xsl:attribute name="name">myform</xsl:attribute> <xsl:attribute name="action">list.php</xsl:attribute> <xsl:attribute name="method">post</xsl:attribute> <select> <xsl:attribute name="multiple"></xsl:attribute> <xsl:attribute name="name">insert</xsl:attribute> <option> <xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute> <xsl:value-of select="."/> </option> </select> </form> </xsl:for-each> So how do I get a select-multiple form to work this way? -- Bill Amsterdam, NL

« previous php.general (#107680) next »