This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Re: Doubled output of text nodes


---- "ashu  t" <aashut@rediffmail.com> 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@onebox.com - email
  

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]