RE: Option in form problem

Subject: RE: Option in form problem
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Mon, 8 May 2000 16:53:29 +0100
Larry Elder wrote:
> The output I get is  <Option selected="" />
> What I want is the more robust... <Option selected />

Use <xsl:output method="html"/> as a child node of the <xsl:stylesheet>

Then, in your <option> tag, put this:

<option selected="selected">

This will be converted in the output tree into <option selected> (as

See the spec: for a
more indepth discussion of <xsl:output> and what it does.


 XSL-List info and archive:

Current Thread