Answer the question
In order to leave comments, you need to log in
Where can I find sites for parsing xml?
Good day, I'm studying parsing In general, I
understood the essence, but I got confused in some things
1) I can only parse ready-made xml sites made by someone? ( news.drweb.com/rss/get/?c=5&lng=ru) or I can somehow parse all the sites in a row, that is, for example, I found an XML site with matches, but the name of the league is not written there, and the name I can’t get the leagues in any way,
or let’s say there is a regular site, how can I get information from it?
Maybe I'm writing nonsense, sorry))
Answer the question
In order to leave comments, you need to log in
I can somehow parse all sites in a rowall
how can i get info from it?find libraries for parsing html on obj-c/java and parsi
HTML is also (a subset of) XML. True, at times, invalid. So sometimes you need to use error-ignoring parsers (often called DOM parsers, and that's what you'll see as libraries for parsing XML).
A DOM parser represents the data in a structure that can usually be accessed using CSS selectors or XPATH selectors. You can also transform XML into any desired form using XSLT.
So, the answer to the question: any site can be "parsed as XML"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question