0
我以xml格式從ajax請求獲得響應,但我如何使用sencha touch解析它們? 例如:如何使用sencha touch解析XML?
Ext.Ajax.request(
{
url: "",
xmlData: "",
method: "POST",
callback: function(options, success, response)
{
//response.responseText is equal to <a><b>value</b></a>
if (success) {
//Parsing response.responseText ...
}
}
});