Hi,
I am working on a simple transformation that includes a table loop. One field in the table is a URL (variable value based on the table field value). I have found help on how to assign the URL value as a HREF link. It is working in that it shows the link correctly in my output.
However, I would like this URL to have a text mask, as is normally possible in <a href="link">Help</a> where 'Help' is displayed instead of the link. But I cannot figure out how to do this in a table loop.
This is my code (within table tags):
<tt:loop ref=".INSTR">
<tr>
<td>
<tt:value ref="$ref.INSTR_NUMBER"/>
</td>
<td>
<tt:value ref="$ref.INSTR_TEXT"/>
</td>
<td>
<tt:value ref="$ref.INSTR_NOTES"/>
</td>
<td>
<a><tt:attribute name="href" value-ref="$ref.INSTR_LINK"/>
<tt:value ref="$ref.INSTR_LINK"/></a>
</td>
</tr>
</tt:loop>
I've tried putting the text into various places between the <a> and </a> tags but nothing works. I only need a hard-coded text, not taken from the table, not variable - the same text for each item.
Does anyone know how this can be done?
Best regards,
Christine