• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps xml parsing using xpath?

slash01

Lurker
Hi guys,

i have an xml file :

Code:
<?xml version="1.0" encoding="UTF-8"?>
<menus>
	<page num="1">
		<menu title="Hotel" icon="hotel.png" id="13" type="1"/>
		<menu title="Restaurant" icon="restaurant.png" id="18" type="1"/>
		<menu title="Spa et Thalasso" icon="spa_thalasso.png" id="119" type="1"/>
		<menu title="Soir
 
Hi,

I use HtmlCleaner and XPATH to parse HTML files. You can also find a nice posting with an example here . You're lucky because you have a XML (hopefully well formed) so you can skip the HTML cleaning.

Greetings,
Durin
 
Back
Top Bottom