2013-03-13 58 views
0

我想在Android應用程序中使用我們的系統的API。 我有這樣的XML:Android - 解析器XML使用SAXParser

<item> 
    <title>Title 1</title> 
    <description> 
     <table> 
      <tr> 
       <td><img src="http://abc.com/image1.jpg" width='80' height='80' /></td> 
       <td>This is summary 1</td> 
      </tr> 
     </table> 
    </description> 
    <link>http://abc.com</link> 
    <pubDate>Wed, 13 Mar 2013 13:42:42 +0700</pubDate> 
</item> 

PLZ告訴我如何使用的SAXParser獲得在標籤<說明>元素:

  • 元1

    src="http://abc.com/image1.jpg"

  • 元2

    <td> This is summary for title 1</td>

+0

我不知道如何獲得上述2個元素。 – 2013-03-13 08:10:12

回答