Android Community
Results 1 to 2 of 2

Thread: getting a single xml node

  1. #1
    Join Date
    Jul 2010
    Posts
    2

    Exclamation getting a single xml node


    Hi guys I'm newbie to android development and I need some help...

    I want to make an app that will use data from an xml database and there are two points where I need help cause I find java with xml too complicate...

    eg.

    Code:
        <items>
        <1><name>box</name><price>2.00</price></1>
        <2><name>pencil</name><price>1.00</price></1>
        </items>
    1)get a single xml value from a child node(eg.name of 1st item - "box")
    2)get an xml database from child nodes (to use it as data source for a listbox) - this one is not nessesary

    Thank you for your time guys...

  2. #2
    Join Date
    Jul 2010
    Posts
    2

    Default Re: getting a single xml node


    Hi guys its me again. I send a lot of hours on searching about an easy way to use xml...

    The easier way I have found called DOM but I have 2 questions:

    1) how to load files from an android project easily(refered with less command line and without using inputstream)
    2) how to use xpath to easily navigate on android

    Prefered to see some examples...
    Thanks 4 all...

Similar Threads

  1. [Question] registering custom opencore source node
    By Alex Jung in forum Developers Guild
    Replies: 0
    Last Post: 03-08-2010, 08:47 PM
  2. AD2P single ear bluetooth
    By ohgary in forum Accessory Chat
    Replies: 0
    Last Post: 10-19-2009, 08:02 AM
  3. one single issue with Cyan 3.6.5 ?
    By gtrplr71 in forum General Phone Chat
    Replies: 18
    Last Post: 07-16-2009, 05:51 AM
  4. How to delete single calls on the G1
    By AlexPR123 in forum General HTC Chat
    Replies: 3
    Last Post: 02-20-2009, 06:19 PM
  5. Single song Shortcut
    By AndroidJR in forum All About Andorid Software
    Replies: 1
    Last Post: 01-08-2009, 02:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •