×

Discussion Board

Results 1 to 13 of 13

Hybrid View

  1. #1
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    73

    how can i get data from xml with syexpat

    i am newbie to syexpat,i download todd's software syexpat,i can run its example, in the Elements example, the emulator display the result ln: test
    and so on,
    for example
    <head>
    <test1>mydata1</test1>
    <test2>mydata2</test2>
    <test3>mydata3</test3>
    </head>

    how can i get mydata1? if i only want to get mydata2, what shuold i do,
    i can't grasp the functions of syexpat now. can someone give me some code?

  2. #2
    Super Contributor
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704

    Re: how can i get data from xml with syexpat

    Hi,

    In your XMLHelper.cpp, you can find StartElement() and CharacterData() functions, In StartElement() function you can get the element name, and attributes and values and in CharacterData() you can get the element value.

    regards,
    eswar

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    23

    Question Re: how can i get data from xml with syexpat

    Hey...

    I tried running GoogleIt and SyExpat on s60 3rd edition fp1 9.2v
    but it does not compile.
    Why? And how can I use XML parser for the version of sdk that I am using?

  4. #4
    Registered User
    Join Date
    Dec 2006
    Posts
    23

    Question Re: how can i get data from xml with syexpat

    Hey...
    I just read that GoogleItFinal is meant for v2 and I need to update the package file to use it for other versions. I need it for the third version. How do I go about it?

  5. #5
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    73

    Re: how can i get data from xml with syexpat

    hi deepika_mangla,
    i use the 2rd winscw, about 3rd, i can tell you nothing.sorry.

    you can search "syexpat" in this forum,or in the newlc forum,you can find articles about how to install the program. one article tell me add two statement in .h file , sorry, i forget the file name.

  6. #6
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    73

    Re: how can i get data from xml with syexpat

    hi, eswar_illuri, thanx for your help.

    but how to deal with the parameter of the StartElement function?
    how to link the data with struct TQualified and RArray<TAttribute>?
    could you give me a simple example?
    thanx

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. suckho, i have encontered the same problems. Could you tell me how you resolved it?
    By dicson_hu in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2005-12-09, 10:56
  3. GPRS connection problems on 6600..
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2005-12-02, 14:00
  4. Nokia 6600 Socket Server send delay Problem
    By dicson_hu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-31, 07:37

Posting Permissions

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