Subject: Re: Re: Re: [xsl] Doubled output of text nodes From: "Charles Knell" <cknell@xxxxxxxxxx> Date: Mon, 15 Jul 2002 11:40:56 -0700 |
---- "ashu t" <aashut@xxxxxxxxxxxxxx> wrote: ... > but the problem is that in the <xsl:template match="form"> i have > used <xsl:apply-templates/> for processing child nodes of form > which can be any thing along with <select> .so that is also > producing the text which is after <input> in html like jazz or > living. That is a problem, but it's not the biggest problem. The biggest problem is that you have no means of telling a template that several checkbox inputs form a group, rather than a set of individual controls. Unlike the radio input, where a group of them share the same name, there is nothing about the controls themselves which mark them as a group of related items. Since you have no control over how it comes in, you can't count on any external grouping element (e.g., div, fieldset)to signify that the checkbox inputs are related. Once you solve that, the template will be very similar to the radio input template. -- Charles Knell cknell@xxxxxxxxxx - email XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Re: Re: [xsl] Doubled output of, ashu t | Thread | Re: Re: Re: Re: [xsl] Doubled outpu, ashu t |
Re: [xsl] XSL FAQ Page, Thomas B. Passin | Date | Re: [xsl] Re: WML input problem, Joerg Heinicke |
Month |