2015-02-24 55 views
0

我使用Javascript從XMLHttpRequest對象中獲得一些xml行。結果,我從responseText屬性中得到一個字符串。我如何設法從這個字符串中獲取信息?Ionic框架:從responseText解析xml

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

回答