[Home] [By Thread] [By Date] [Recent Entries]
And the style sheet i am using is use Attribute Value Templates (AVT) here when test not necessary, for-each is enough AVT again AVT again + some sort of grouping really applying again templates on all child elements?? </xsl:template> <xsl:template match="form"> <do type="accept" label="submit"> <go href="{@action}" method="{@method}"> <xsl:for-each select="input[@type='checkbox']"> <postfield name="{@name}" value="${@name}"/> </xsl:for-each> <xsl:for-each select="input[@type='radio'][not(@name = following-sibling::input/@name)]"> <postfield name="{@name}" value="${$name}"/> </xsl:for-each> </go> </do> </xsl:template> Regards, Joerg -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



