×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223

    Parse xml String

    Hi All,
    I am developing an application in that after making web service i got the response from server which is in the XML tag
    following is the response..

    <?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n
    <string...... /\">Hello World</string>

    I want to read only "Hello World" string.
    How should I parse it??
    Please help me ASAP...
    Thanx..

  2. #2
    Super Contributor
    Join Date
    Jul 2008
    Location
    Chennai,India
    Posts
    889

    Re: Parse xml String

    You can use CParser class if it is simple XML

  3. #3
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223

    Re: Parse xml String

    Thanx 4 reply Deepchand,
    response is in simple XML as i mentioned in my thread.
    do u have any sample code or link that shows the parsing?

  4. #4
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Re: Parse xml String

    Quote Originally Posted by devdattac View Post
    Thanx 4 reply Deepchand,
    response is in simple XML as i mentioned in my thread.
    do u have any sample code or link that shows the parsing?
    go to the following link....

    http://wiki.forum.nokia.com/index.ph...ymbian_OS_v9.x
    Regards,
    Amit


    ****"Putting a Smile on other's faces is the essence of true Happiness"****

  5. #5
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    217

    Re: Parse xml String

    it says only from file.
    how to parse from xml string?

  6. #6
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Parse xml String

    if you look StartParsingWithAoL in http://wiki.forum.nokia.com/index.ph..._CParser_class the File is read to a buffer before it starts parsing so there is no difference.

Similar Threads

  1. Replies: 12
    Last Post: 2010-03-21, 19:25
  2. xml string
    By s-factor in forum Symbian
    Replies: 2
    Last Post: 2007-12-09, 12:08
  3. How to parse xml files with special Unicode chars?
    By harry_zhang in forum Symbian
    Replies: 10
    Last Post: 2007-11-13, 16:48
  4. Replies: 11
    Last Post: 2007-02-28, 04:16
  5. D211 new linux driver 1.04 not working !!
    By franz_meyer in forum Multimodecards
    Replies: 1
    Last Post: 2002-12-12, 08:31

Posting Permissions

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