[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Re: Doubled output of text nodes

Subject: Re: Re: Re: Doubled output of text nodes
From: "Charles Knell" <cknell@xxxxxxxxxx>
Date: Mon, 15 Jul 2002 11:40:56 -0700
Re: Re: Re:  Doubled output of text nodes
---- "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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.