D
D
dearname2014-02-05 13:59:39
Android
dearname, 2014-02-05 13:59:39

Where to read about XML parsing Android?

Good afternoon. Please help me figure it out. Everything is very clear with html parsing, but with xml, because you must first download, then parse. And another question: are there ready-made examples on the Internet of this type of xml parsing or just articles about xml parsing?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
Benderlidze, 2014-02-05
@Benderlidze

I download to the device and then parse.
Here is one of the simplest and most understandable examples of the SAX parser
androidtrainningcenter.blogspot.com/2012/02/androi...
you can throw away the adapter for now

M
Mintormo, 2014-02-05
@Mintormo

There is a library with which you can quite simply work with XML. It is called XOM ( xom.nu ). Of course, the document must first be downloaded and converted to a string and fed to the parser.

S
snackovich, 2014-02-06
@snackovich

I will also give advice to look at simple.sourceforge.net simplexml lib
if the data is formalized and the format is known, it is possible to immediately extract JAVA objects from them (deserialization)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question