<core:FragmentDefinition
	template:require="{Helper: 'sap/ui/core/sample/odata/v4/SalesOrdersTemplate/Helper'}"
	xmlns="sap.m"
	xmlns:core="sap.ui.core"
	xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1">
	<template:alias name="format" value="Helper.format">
		<template:if test="{= ${objectWithKind>$kind} === 'EntityContainer' }">
			<template:then>
				<Text text="{objectWithKind>@sapui.name}/$kind: ~EntityContainer~"/>
			</template:then>
			<template:else>
				<Text text="{objectWithKind>@sapui.name}/$kind: {path : 'objectWithKind>$kind', formatter : 'format'}"/>
			</template:else>
		</template:if>
	</template:alias>
</core:FragmentDefinition>