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]

RE: Multiple Selects


Another problem (unrelated to the issue with the select element), is
that the <OPTION> tags need to be closed in order for the stylesheet to
be valid XML.

- Jason

-----Original Message-----
From: Thomas B. Passin [mailto:tpassin@mitretek.org]
Sent: Monday, June 11, 2001 10:32 AM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] Multiple Selects


[Tanzila Mohammad]

> I am trying to include a multiple select tag in my xsl sheet:
> 
> i.e.
> <SELECT NAME="Bathroom colors" SIZE="5" MULTIPLE>
> <OPTION>White
> <OPTION>Red
> <OPTION>Green
> <OPTION>Black
> </SELECT>
> 
> The error I get when I include the 'MULTIPLE' is:
> 
> - the attribute select must be followed by the '=' character.
> 
> Any suggestions?
> 

You must supply the value of an attribute in xml.  Try

<SELECT NAME="Bathroom colors" SIZE="5" MULTIPLE='true'>

Tom P



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


 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]