I have the following code:
<t:template>
<Text text="{path: 'dateday', formatter:'.formatdate'}"/>
</t:template>
<t:template>
<Text text="{path: 'datetime', formatter:'.formatime'}"/>
</t:template>
And I need to display the second template only if the 'dateday' value is null
, undefined
or empty.
Any idea how to achieve this in XML?