for-each question/IE5

Subject: for-each question/IE5
From: "Pettigrew, Nancy" <NancyPettigrew@xxxxxxxxxxxxx>
Date: Tue, 25 Jan 2000 10:09:45 -0800
With the following XML document, I need to create HTML output that shows all
the possible Languages as options in a select box, with the Person's
Languages selected.

Using a for-each loop, I can populate the select options, no problem.
However, I am having trouble also checking the Person languages while in
that loop in order to mark options as selected.
I'm using IE5 (ack) and apparently, xsl:variable is not supported.

Does anyone have an idea of how to do this using IE5?  Weird kludgey fixes
are more than welcome - this is the last page I need to complete, and I'm
truly at a loss at this point...
I've tried some comparisons using the $any$ operator, but have had no luck
with that either.


			<Language value="French"/>
			<Language value="English"/>
			<Language value="German"/>
			<Language value="Russian"/>
			<Language value="Spanish"/>
			<Language value="English"/>
			<Language value="Spanish"/>

<SELECT size="10">
<xsl:for-each select="/MCRoot/Lists/Languages/Language">
***** This is where I've been trying to set the selected attribute with no
luck ********
	<xsl:value-of select="@value"/>

 XSL-List info and archive:

Current Thread