Discussion Board

Results 1 to 2 of 2

Thread: xml

  1. #1
    Registered User
    Join Date
    Mar 2008


    how to display the xml file contents in to a list box?I have a text file which contains locationId and reading that text file and displaing in to a list box.i need to change d text file content to xml file format.and need to display in d list box.what should i do for that?is it possible to update d xml file after creating d jar file?pls help me.

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Rome, Italy

    Re: xml

    Hi Reshmy,

    as already pointed out in your other thread, to parse XML files you should use some XML APIs, like kXML. Once you have parsed that, you can do anything you want with its content (like displaying particular nodes within a list box).

    About the second question, if you mean updating/modifying an XML file included within the JAR file, than you cannot do it. What you can do is store your XML data using RMS or FileConnection APIs, so that you can freely read/write your data whenever you want.

    Hope it helps,

Similar Threads

  1. Parsing wbxml file to xml file using kxml parser
    By ramyashashe in forum Mobile Java General
    Replies: 18
    Last Post: 2010-05-17, 15:56
  2. Replies: 21
    Last Post: 2009-04-18, 12:00
  3. XML to OutputStream - size troubles
    By sommeralex in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-02-12, 08:48
  4. generating an XML file..
    By mayankkedia in forum Symbian
    Replies: 0
    Last Post: 2007-01-10, 14:42
  5. Sending XML file from server to mobile
    By bvsbh in forum Mobile Java General
    Replies: 1
    Last Post: 2005-11-30, 14:21

Posting Permissions

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