I'm trying to append an HTML DOM Object to XML View, but it isn't showing up.
I'm trying to hit a BAPI service which returns me an XML, which is then transformed into HTML DOM using an XSLT
resultDocument is an documentFragment paneXml is the panel id
if (document.implementation && document.implementation.createDocument) {
xsltProcessor = new XSLTProcessor();
xsltProcessor.importStylesheet(xsl);
resultDocument = xsltProcessor.transformToFragment(xml, document);
var viewHtml = new sap.ui.core.HTML().setDOMContent(resultDocument);
this.getView().byId('panelXml').placeAt('viewHtml');
}
XML View <Panel id="panelXml" width="100%" style="display:block;" ></Panel>