Suche in der XML-Datei mit XPath in Android

Bin ich die Entwicklung eine Anwendung für android!

Gut ich habe einen kleinen Konflikt nun möchte ich eine XPath-Abfrage auszuführen, aber ich kam nicht um dieses problem zu lösen.

Suche in der XML-Datei mit XPath in Android

Dies ein Beispiel für XML-filethat ich benutze:

<?xml version="1.0"?>
<catalog>
  <book id="bk101">
   <author>Gambardella, Matthew</author>
 <title>XML Developer's Guide</title>
 <genre>Computer</genre>
 <price>44.95</price>
 <publish_date>2000-10-01</publish_date>
 <description>An in-depth look at creating applications 
  with XML.</description>
</book>

<book id="bk102">
 <author>Ralls, Kim</author>
 <title>Midnight Rain</title>
 <genre>Fantasy</genre>
 <price>5.95</price>
 <publish_date>2000-12-16</publish_date>
 <description>A former architect battles corporate zombies, 
  an evil sorceress.</description>
</book>

<book id="bk103">
 <author>Corets, Eva</author>
 <title>Maeve Ascendant</title>
 <genre>Fantasy</genre>
 <price>5.95</price>
 <publish_date>2000-11-17</publish_date>
 <description>After the collapse of a nanotechnology 
  society in England.</description>
 </book>
 </catalog>

Wie kann ich tun??

Vielen Dank im Voraus!!

Schreibe einen Kommentar