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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to