|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: An easy problem
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
|
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








