title: xml to json in android
body: <p>What i want to do is that I'm making an app engine in which i have to parse xml similar to the example below and other such xml. I want to convert this into json .... is there any way to do so? </p>
  
  <pre><code> - &lt;application&gt;
      - &lt;!--  [Start] Application Section 
        --&gt; `enter code here`
        &lt;app_type&gt;app_business&lt;/app_type&gt; 
      - &lt;app_info&gt;
        &lt;app_name&gt;App test for test user&lt;/app_name&gt; 
        &lt;app_description&gt;app description&lt;/app_description&gt; 
        &lt;app_keywords&gt;4464&lt;/app_keywords&gt; 
        &lt;app_website&gt;www.google.co.in&lt;/app_website&gt; 
        &lt;app_logo&gt;1335504801.jpg&lt;/app_logo&gt; 
        &lt;splash_screen_logo&gt;Splash.jpg&lt;/splash_screen_logo&gt; 
        &lt;mobile_platform&gt;0&lt;/mobile_platform&gt; 
        &lt;header_bg /&gt; 
        &lt;bg_image /&gt; 
        &lt;bg_color /&gt; 
        &lt;usr_name&gt;Test Singh&lt;/usr_name&gt; 
        &lt;usr_username&gt;test&lt;/usr_username&gt; 
        &lt;usr_email&gt;test@gmail.com&lt;/usr_email&gt; 
        &lt;usr_registerDate&gt;2012-04-26 10:21:00&lt;/usr_registerDate&gt; 
        &lt;usr_plan_id&gt;1&lt;/usr_plan_id&gt; 
        &lt;usr_lastvisitDate&gt;2012-04-30 04:24:34&lt;/usr_lastvisitDate&gt; 
        &lt;usr_plan_id&gt;1&lt;/usr_plan_id&gt; 
        &lt;usr_gender&gt;Male&lt;/usr_gender&gt; 
        &lt;usr_contactno&gt;12321432&lt;/usr_contactno&gt; 
        &lt;usr_address&gt;Jaipur&lt;/usr_address&gt; 
        &lt;usr_profile_picture&gt;1234514Sunset.jpg&lt;/usr_profile_picture&gt; 
        &lt;usr_dob&gt;2012-04-09&lt;/usr_dob&gt; 
        &lt;/app_info&gt;
      - &lt;app_home&gt;
      - &lt;!--  [Start]Home Section 
        --&gt; 
      - &lt;!--  Home properties 
        --&gt; 
      - &lt;home_properties&gt;
        &lt;tab_icon&gt;home.png&lt;/tab_icon&gt; 
        &lt;tab_title&gt;Home&lt;/tab_title&gt; 
        &lt;banner_text&gt;Home Banner Text here.&lt;/banner_text&gt; 
        &lt;bg_image&gt;business_logo1.png&lt;/bg_image&gt; 
        &lt;/home_properties&gt;
      - &lt;!--  Home Buttons 
        --&gt; 
      - &lt;home_buttons&gt;
      - &lt;button&gt;
        &lt;button_type&gt;app_portfolio&lt;/button_type&gt; 
        &lt;button_text&gt;Portfolio&lt;/button_text&gt; 
        &lt;button_image&gt;button.jpg&lt;/button_image&gt; 
        &lt;/button&gt;
      - &lt;button&gt;
        &lt;button_type&gt;app_websiteUrl&lt;/button_type&gt; 
        &lt;button_text&gt;Web Url&lt;/button_text&gt; 
        &lt;button_image&gt;button.jpg&lt;/button_image&gt; 
        &lt;/button&gt;
      - &lt;button&gt;
        &lt;button_type&gt;app_contact&lt;/button_type&gt; 
        &lt;button_text&gt;Contact&lt;/button_text&gt; 
        &lt;button_image&gt;button.jpg&lt;/button_image&gt; 
        &lt;/button&gt;
        &lt;/home_buttons&gt;
        &lt;/app_home&gt;
      - &lt;!--  [End]Home Section 
        --&gt; 
      - &lt;app_aboutus&gt;
      - &lt;!--  [Start]About Us Section 
        --&gt; 
      - &lt;!--  [Start]Home properties 
        --&gt; 
      - &lt;aboutus_properties&gt;
        &lt;tab_icon&gt;aboutus.png&lt;/tab_icon&gt; 
        &lt;tab_title&gt;About Us Tab&lt;/tab_title&gt; 
        &lt;banner_text&gt;About Us Banner Text&lt;/banner_text&gt; 
        &lt;bg_image&gt;bg-image.jpg&lt;/bg_image&gt; 
        &lt;image&gt;about-img.jpg&lt;/image&gt; 
        &lt;description&gt;About us description&lt;/description&gt; 
        &lt;/aboutus_properties&gt;
      - &lt;!--  [End]Home properties 
        --&gt; 
        &lt;/app_aboutus&gt;
      - &lt;!--  [End]About Us Section 
        --&gt; 
      - &lt;app_services&gt;
      - &lt;!--  [Start]Services Section 
        --&gt; 
      - &lt;!-- [Start] Services properties 
        --&gt; 
      - &lt;services_properties&gt;
        &lt;tab_icon&gt;2.png&lt;/tab_icon&gt; 
        &lt;tab_title&gt;Services Tab Title&lt;/tab_title&gt; 
        &lt;banner_text&gt;Services Banner Text&lt;/banner_text&gt; 
        &lt;bg_image&gt;bg-image.jpg&lt;/bg_image&gt; 
        &lt;image&gt;services.jpg&lt;/image&gt; 
        &lt;description&gt;Services Description&lt;/description&gt; 
        &lt;/services_properties&gt;
      - &lt;!--  [End]Services properties 
        --&gt; 
        &lt;/app_services&gt;
      - &lt;!--  [End]Services Section 
        --&gt; 
      - &lt;app_more&gt;
      - &lt;!--  [Start]More Section 
        --&gt; 
      - &lt;!--  More properties 
        --&gt; 
      - &lt;more_properties&gt;
        &lt;tab_icon&gt;more.png&lt;/tab_icon&gt; 
        &lt;tab_title&gt;More&lt;/tab_title&gt; 
        &lt;banner_text&gt;More Banner text&lt;/banner_text&gt; 
        &lt;bg_image&gt;bg-image.jpg&lt;/bg_image&gt; 
        &lt;/more_properties&gt;
      - &lt;!--  More Buttons 
        --&gt; 
      - &lt;more_buttons&gt;
      - &lt;button&gt;
        &lt;button_type&gt;member profile&lt;/button_type&gt; 
        &lt;button_text&gt;Member Profile&lt;/button_text&gt; 
        &lt;button_image&gt;button.jpg&lt;/button_image&gt; 
        &lt;/button&gt;
      - &lt;button&gt;
        &lt;button_type&gt;map&lt;/button_type&gt; 
        &lt;button_text&gt;More Button map&lt;/button_text&gt; 
        &lt;button_image&gt;button.jpg&lt;/button_image&gt; 
        &lt;/button&gt;
      - &lt;button&gt;
        &lt;button_type&gt;audiovideo&lt;/button_type&gt; 
        &lt;button_text&gt;Audio Video Streaming&lt;/button_text&gt; 
        &lt;button_image&gt;button.jpg&lt;/button_image&gt; 
        &lt;/button&gt;
      - &lt;button&gt;
        &lt;button_type&gt;news&lt;/button_type&gt; 
        &lt;button_text&gt;News&lt;/button_text&gt; 
        &lt;button_image&gt;button.jpg&lt;/button_image&gt; 
        &lt;/button&gt;
      - &lt;button&gt;
        &lt;button_type&gt;services&lt;/button_type&gt; 
        &lt;button_text&gt;Services&lt;/button_text&gt; 
        &lt;button_image&gt;button.jpg&lt;/button_image&gt; 
        &lt;/button&gt;
        &lt;/more_buttons&gt;
        &lt;/app_more&gt;
      - &lt;!--  [End]More Section 
        --&gt; 
      - &lt;app_news&gt;
      - &lt;!--  [Start]News Section 
        --&gt; 
      - &lt;!--  News properties 
        --&gt; 
      - &lt;news_properties&gt;
        &lt;tab_icon&gt;2.png&lt;/tab_icon&gt; 
        &lt;tab_title&gt;News Tab Title&lt;/tab_title&gt; 
        &lt;banner_text&gt;News Banner Text&lt;/banner_text&gt; 
        &lt;bg_image&gt;bg-image.jpg&lt;/bg_image&gt; 
        &lt;rss_url&gt;http://newsrss.bbc.co.uk/rss/sportonline_world_edition/front_page/rss.xml&lt;/rss_url&gt; 
        &lt;/news_properties&gt;
        &lt;/app_news&gt;
      &lt;/application&gt;
  </code></pre>