title: How to implement DataBinding in SAPUI5 when using XML-Views?
body: <p>in SAPUI5 assigning a model or data binding to a table or something is very easy, when using JS-Views.
  But how can I do this, when using XML-Views?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;core:View
      xmlns:core="sap.ui.core"
      xmlns="sap.ui.commons"
      xmlns:table="sap.ui.table"
      xmlns:html="http://www.w3.org/1999/xhtml"
      controllerName="view.Main"&gt;
      &lt;Panel text="Hello World from an XML view"&gt;
          &lt;Button text="Button" press="doSomething"&gt;&lt;/Button&gt;
          &lt;table:Table width="100%" visibleRowCount="5" selectionMode="Single" editable="false"&gt;
              &lt;table:title&gt;&lt;Label text="Wochentage"&gt;&lt;/Label&gt;&lt;/table:title&gt;
              &lt;table:Column&gt;
                  &lt;Label text="ID" /&gt;
                  &lt;table:template&gt;&lt;TextField value="{id}"&gt;&lt;/TextField&gt;&lt;/table:template&gt;
              &lt;/table:Column&gt;
  
          &lt;/table:Table&gt;
      &lt;/Panel&gt;
  &lt;/core:View&gt;
  </code></pre>
  
  <p>I dont want to give the table a fix id attribute and implement it by calling</p>
  
  <pre><code>sap.ui.getCore().getElementById("idProductsTable").setModel(
  
              demoJSONModel);
  </code></pre>
  
  <p>in the controller ... :(</p>