(Android provides you with xml to get the xmlpull parser. The input stream is passed into the set encoding method. After the pull reads the xml, the number returns. After the pull reads the xml statement, the number returns 0 START_ DOCUMENT; The end of the read to xml returns the number 1END_ DOCUMENT; Read the start tag of xml and return the number 2START_ TAG reads the end tag of xml and returns the number 3END_ When TAG reads the text of the xml, the number 4TEXT comes back. As long as this thing does not come back, everyone will always read the xml file. If the next element of the current element is a text node, you can directly use the nextText() method to get the content of the text node. The xml file will be pushed to the next one for parsing before the end)