Format of xml file for android XMLParser

Skod

New Member
I am using XMLParser to parse xml file from server. I was wondering in xml file it is neccessory to put \[code\]<?xml version="1.0" encoding="UTF-8"?> \[/code\]or just \[code\]<?xml version="1.0"?> \[/code\]will work.My server xml file is of below format and it is not working properly.the log file out is \[code\]http://pastebin.com/MjcgW1pG\[/code\]This is my xml\[code\]<?xml version="1.0"?>-<application> -<catalog> -<currency id="1"> <rate>1.5</rate> <type>Euros</type> </currency> - <currency id="10"> <rate>1.5169</rate> <type>USA$</type> </currency> -<currency id="16"> <rate>1.4901</rate> <type>AU$</type> </currency> </catalog> </application>\[/code\]
 
Back
Top