> HTML uses SGML-style abbreviations; the familiar <OPTION SELECTED> is an
abbreviation for <OPTION SELECTED="SELECTED"/>. These abbreviations are
not available in XML, you need to generate the full attribute name and
value. The serializer will turn it into correct HTML.
> -----Original Message-----
> From: David Dyer [mailto:davidjdyer@b...]
> Sent: 24 June 2002 10:04
> To: P2P_XSLT
> Subject: [xslt] Combobox and checkbox problems
> I am creating XML files that conatin information about the
> attributes and
> their associated data to be used on a form.
> I have created a generic XSLT that then transforms the data
> into an input
> form for processing.
> The problem I have is getting the current value highlighted
> in a combobox
> (ie box contains 1="Male",2="Female" and current value is 2 I want it
> highlighted. I have tried all combinations of setting the SELECTED
> attribute, but I cannot find the correct solution.
> This is the same as checkbox, I cannot set the checked
> attribute correctly
> no matter what I do.
> Anyone help?
> Change your mail options at http://p2p.wrox.com/manager.asp or
> to unsubscribe send a blank email to