How can i use if/else conditions to render any view dynamically in UI5. i found this, which seemed for me a proper solution:
How to use an if-else condition in a SAPUI5 XML-View?
But this does not work because the xmlns attribute xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
does not work.
So how to solve this problem? I did not found any other template link.