I have string variable which contains XML of the form:
<item>
<descriptin>abc</descripton>
<title>def</title>
</item>
I want to the display the title text in a listview but I'm getting XML when I use:
String s=hitdoc.get("text")
I'm working with Lucene search in android if that helps.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…