Description: In this section we study XML parsing, in Android applications, XML parsing and almost the same in Java, the most commonly used SAX, DOM, Pull three analytical methods. The is embedded in the Android Pull parsing method, the Pull parsing also became the Android recommended way of parsing. Then we respectively for the three XML parsing approach to explain.
To Search:
File list (Check if you may need any files):
MyXmlParser\.classpath
...........\.project
...........\AndroidManifest.xml
...........\assets\source.xml
...........\bin\AndroidManifest.xml
...........\...\classes\com\leverage\handler\MyHandler.class
...........\...\.......\...\........\.ttp\HttpUtils.class
...........\...\.......\...\........\myxmlparser\BuildConfig.class
...........\...\.......\...\........\...........\IMyParser.class
...........\...\.......\...\........\...........\MyDOMParser.class
...........\...\.......\...\........\...........\MyPullParser.class
...........\...\.......\...\........\...........\MySAXParser$MySAXHandler.class
...........\...\.......\...\........\...........\MySAXParser.class
...........\...\.......\...\........\...........\R$attr.class
...........\...\.......\...\........\...........\R$drawable.class
...........\...\.......\...\........\...........\R$id.class
...........\...\.......\...\........\...........\R$layout.class
...........\...\.......\...\........\...........\R$string.class
...........\...\.......\...\........\...........\R$style.class
...........\...\.......\...\........\...........\R.class
...........\...\.......\...\........\...........\TestXmlParseActivity$MyListAdapter.class
...........\...\.......\...\........\...........\TestXmlParseActivity$MyOnClickListener.class
...........\...\.......\...\........\...........\TestXmlParseActivity.class
...........\...\.......\...\........\service\SAXService.class
...........\...\.......\...\........\test\TestSAX.class
...........\...\classes.dex
...........\...\jarlist.cache
...........\...\MyXmlParser.apk
...........\...\res\drawable-hdpi\ic_action_search.png
...........\...\...\.............\ic_launcher.png
...........\...\...\.........ldpi\ic_launcher.png
...........\...\...\.........mdpi\ic_action_search.png
...........\...\...\.............\ic_launcher.png
...........\...\...\.........xhdpi\ic_action_search.png
...........\...\...\..............\ic_launcher.png
...........\...\resources.ap_
...........\gen\com\leverage\myxmlparser\BuildConfig.java
...........\...\...\........\...........\R.java
...........\ic_launcher-web.png
...........\libs\android-support-v4.jar
...........\proguard-project.txt
...........\project.properties
...........\res\drawable-hdpi\ic_action_search.png
...........\...\.............\ic_launcher.png
...........\...\.........ldpi\ic_launcher.png
...........\...\.........mdpi\ic_action_search.png
...........\...\.............\ic_launcher.png
...........\...\.........xhdpi\ic_action_search.png
...........\...\..............\ic_launcher.png
...........\...\layout\listitem.xml
...........\...\......\listview.xml
...........\...\values\strings.xml
...........\...\......\styles.xml
...........\src\com\leverage\handler\MyHandler.java
...........\...\...\........\.ttp\HttpUtils.java
...........\...\...\........\myxmlparser\IMyParser.java
...........\...\...\........\...........\MyDOMParser.java
...........\...\...\........\...........\MyPullParser.java
...........\...\...\........\...........\MySAXParser.java
...........\...\...\........\...........\TestXmlParseActivity.java
...........\...\...\........\service\SAXService.java
...........\...\...\........\test\TestSAX.java
...........\bin\classes\com\leverage\handler
...........\...\.......\...\........\http
...........\...\.......\...\........\myxmlparser
...........\...\.......\...\........\service
...........\...\.......\...\........\test
...........\...\.......\...\leverage
...........\gen\com\leverage\myxmlparser
...........\src\com\leverage\handler
...........\...\...\........\http
...........\...\...\........\myxmlparser
...........\...\...\........\service
...........\...\...\........\test
...........\bin\classes\com
...........\...\res\drawable-hdpi
...........\...\...\drawable-ldpi
...........\...\...\drawable-mdpi
...........\...\...\drawable-xhdpi
...........\gen\com\leverage
...........\src\com\leverage
...........\bin\classes
...........\...\res
...........\gen\com
...........\res\drawable-hdpi
...........\...\drawable-ldpi
...........\...\drawable-mdpi
...........\...\drawable-xhdpi
...