hi all
can anybody help please. I have a source xsl file which includes some velocity tags, which are published as they are and replaced on our server based on our web app logic.
i need to include a slot in this template but am not getting the expected results.
the relevant snippet of code is as follows:
<td class="mctRules">
#if($OUTBOUND_TICKET_TYPE)=="saver")
<!-- begin XSL -->
<!-- start slot TicketTypeSaver -->
<!-- start snippet wrapper -->
<span psxeditslot="yes" slotname="TicketTypeSaver"/>
<!-- end snippet wrapper -->
<!-- end slot TicketTypeSaver -->
<!-- end XSL -->
#else
<!-- begin XSL -->
<!-- start slot TicketTypeFlexi -->
<!-- start snippet wrapper -->
<span psxeditslot="yes" slotname="TicketTypeFlexi"/>
<!-- end snippet wrapper -->
<!-- end slot TicketTypeFlexi -->
<!-- end XSL -->
#end if
</td>
and i would expect this to output the contents of both slots and our server would then decide which one to show.
however, what i am seeing in the source is the following:
<td class="mctRules">
#if($OUTBOUND_TICKET_TYPE)=="saver")
<span slotname="TicketTypeSaver" psxeditslot="yes"></span>
#else
<span slotname="TicketTypeFlexi" psxeditslot="yes"></span>
#end if
</td>
can anyone shed any light on what i’m missing and why the contents of the slots are not being published.
thanks
michelle