I can't detect \n character in XMl parsing [android] -


i try parse xml file dom method (eventelement.getattribute("string")) couldn't detect warp (e.g "\n") when open in browser , open source (ctrl+u) see warps.

when use

string.split("\n") string.split(system.getproperty("line.separator")) ; string.split(" ");

all of them dosen't work

thank help

you shoud search not "\n" system.getproperty("line.separator");.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -