Alternative function doXPath, doXSLTransToString (v4 to v5)

I am reviewing version upgrades. from v4 to v5

My old source is
function getGridToHTML(dataUrl, arHeader, arWidth) {
var htmlResult = “” ;
var innerHTML = “” ;
var xslLoader = dhtmlxAjax.getSync(“_xml2table_template01.xsl”);
var xmlLoader = dhtmlxAjax.getSync(dataUrl);
var chkVal = xmlLoader.doXPath(“/rows/row”);
if (chkVal.length == 0) {
return htmlResult ;
}
innerHTML = xmlLoader.doXSLTransToString(xslLoader.xmlDoc.responseXML);
var i = 0;
var header = arHeader.split(‘,’) ;
var colCount = header.length ;
var width = arWidth.split(‘,’) ;
htmlResult = “”;
htmlResult += “” ;
for( i; i<colCount; i++ ){
htmlResult += “”;
}
htmlResult += “” ;
htmlResult += innerHTML;
htmlResult += “

”+header[i]+“
” ;
return htmlResult ;
}

I have been solve this migration problem with
dhtmlxAjax.getSync-> dhx.ajax.getSync

but I can not find any alternative function for doXPath and doXSLTransToString…

Tell me how to solve this problem.

Thanks.

For the doXPath you may use the xPath:
docs.dhtmlx.com/ajax__migration.html

There is no analog of the doXSLTransToString method in the current dhtmlx.

Because there was no such functionality, I made an alternative function.
As the version becomes upgraded, many functions seem to be missing.
We look forward to your next patch.

Thanks.

Unfortunately we’re not planning to create the analog of the doXSLTransToString function in the current version of the dhtmlx.