Opened 4 years ago

Closed 4 years ago

Last modified 21 months ago

#467 closed enhancement (fixed)

else and elsif in template engine

Reported by: Maxim Reznik Owned by: Maxim Reznik
Priority: major Milestone: 18.0
Component: Matreshka - XML Processor Version:
Keywords: elsif else Cc:

Description

I would like else and elsif instruction in XML template engine:

I propose next syntax:

<mtl:if expression="x">
  aaa
<mtl:elsif expression="x"/>
  bbb
<mtl:else/>
  ccc
</mtl:if>

Change History (2)

comment:1 by Maxim Reznik, 4 years ago

Owner: set to Maxim Reznik
Resolution: fixed
Status: newclosed

In 5671:

Add 'else' and 'elsif' to XML template engine

Close #467

comment:2 by vadim.godunko, 21 months ago

Milestone: 0.8.018.0

Milestone renamed

Note: See TracTickets for help on using tickets.