Ionic 框架:从 responseText 解析 xml

Ionic framework : Parse xml from responseText

我使用 Javascript 从 XMLHttpRequest 对象中得到一些 xml 行。结果,我从 responseText 属性中得到了一个字符串。我如何设法从此字符串中获取信息?

<items>
    <item info="value" info="otherValue" />
    <item info="value" info="otherValue" />
    <item info="value" info="otherValue" />
</items>

我终于通过 ajax from jquery 获取我的 xml 内容而摆脱了麻烦。