I have a lookup table that contains these columns:
id, name, value, colx, coly
I would like to be able to generate the following HTML:
<option value="value1" data-colx="x1" data-coly="y1">name1</option>
<option value="value2" data-colx="x2" data-coly="y2">name2</option>
<option value="value3" data-colx="x3" data-coly="y3">name3</option>
<option value="value4" data-colx="x4" data-coly="y4">name4</option>
I would rather not use XSL to reformat the generated XML.
Shouldn’t be too hard…. try this:
This gives me the output you’re looking for: