JoeMcGarvey
Programmer
Hi,
I am trying to output a "select" field from the sample XML below:
<tree>
<option>Ducks</option>
<option>Cows</option>
<option>Sheep</option>
<option>Sheep</option>
<option>Ducks</option>
<option>Cows</option>
<option>Cows</option>
</tree>
I need to group the option values to produce the sample HTML:
<select name="animals">
<option>Cows</option>
<option>Ducks</option>
<option>Sheep</option>
</select>
Can anyone help me with the grouping in XSLT?
I have read about Meunchian Grouping, but am confused...
Thanks!
Joe McGarvey - Web Application Developer
Paragraph, Inc. - Paragraph Publisher -
I am trying to output a "select" field from the sample XML below:
<tree>
<option>Ducks</option>
<option>Cows</option>
<option>Sheep</option>
<option>Sheep</option>
<option>Ducks</option>
<option>Cows</option>
<option>Cows</option>
</tree>
I need to group the option values to produce the sample HTML:
<select name="animals">
<option>Cows</option>
<option>Ducks</option>
<option>Sheep</option>
</select>
Can anyone help me with the grouping in XSLT?
I have read about Meunchian Grouping, but am confused...
Thanks!
Joe McGarvey - Web Application Developer
Paragraph, Inc. - Paragraph Publisher -