title: SAP UI5 How to append HTML in xml View
body: <p>I want to use vis.js library at xml view. </p>
  
  <p>This is XML View : </p>
  
  <pre><code>&lt;mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:m="sap.m" controllerName="com.asas.mes.controller.timeline" xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;m:Page&gt;
      &lt;div id="visualization"&gt;&lt;/div&gt;
  &lt;/m:Page&gt;
  </code></pre>
  
  <p></p>
  
  <p>And this is controller:</p>
  
  <pre><code>    sap.ui.define([
      "sap/ui/core/mvc/Controller"
  ], function(Controller) {
      "use strict";
  
      return Controller.extend("com.asas.mes.controller.timeline", {
  
          onInit: function() {
  
              jQuery.sap.registerModulePath("modulePath", "/XMII/CM/mes/vis-4.21.0");
              jQuery.sap.require("modulePath.vismin");
              var test = this.getView().byId("visualization");
  
               var items = new vis.DataSet([
               {id: 1, content: 'item 1', start: '2014-04-20'},
               {id: 2, content: 'item 2', start: '2014-04-14'},
               {id: 3, content: 'item 3', start: '2014-04-18'},
               {id: 4, content: 'item 4', start: '2014-04-16', end: '2014-04-19'},
               {id: 5, content: 'item 5', start: '2014-04-25'},
               {id: 6, content: 'item 6', start: '2014-04-27', type: 'point'}
    ]);
  
    // Configuration for the Timeline
    var options = {};
  
    // Create a Timeline
    var timeline = new vis.Timeline(container, items, options);
  
          }
  
      });
  });
  </code></pre>
  
  <p>But I get this error:</p>
  
  <p><a href="https://i.stack.imgur.com/4TOOr.png" rel="nofollow noreferrer">error ss:</a></p>
  
  <p>error code: Uncaught TypeError: t.appendChild is not a function</p>