×

Discussion Board

Results 1 to 5 of 5

Thread: XML parsing

  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Sri Lanka, Colombo
    Posts
    204

    Smile XML parsing

    hi guys,

    i have able to parse xml with j2me and able to parse a sample xml.

    but i have a url which returns a xml like this


    <ns1:activateLoyaltyCustomerResponse>
    <ns1:return>Error:0003</ns1:return>
    </ns1:activateLoyaltyCustomerResponse>

    but i couldn't parse this xml. y is that??????

    how can i parse this xml, is this differs from one scenario to another


    regards,
    Randika

  2. #2
    Nokia Developer Champion
    Join Date
    Sep 2007
    Posts
    915

    Re: XML parsing

    Quote Originally Posted by HasithaRandika View Post
    hi guys,

    i have able to parse xml with j2me and able to parse a sample xml.

    but i have a url which returns a xml like this


    <ns1:activateLoyaltyCustomerResponse>
    <ns1:return>Error:0003</ns1:return>
    </ns1:activateLoyaltyCustomerResponse>

    but i couldn't parse this xml. y is that??????

    how can i parse this xml, is this differs from one scenario to another


    regards,
    Randika
    Is it css file ? I have expereienced css file problem in parsing xml data.

  3. #3
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Sri Lanka, Colombo
    Posts
    204

    Re: XML parsing

    hi honest_success,

    this is not a css file. this a web page. this is the result of a web request.

    regards,
    Randika

  4. #4
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    387

    Re: XML parsing

    hi, check tags are same as of sample xml file.
    Thanks and Regards,
    Manjul.

  5. #5
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Sri Lanka, Colombo
    Posts
    204

    Re: XML parsing

    nope tags are different that's the thing.
    regards,
    Randika

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. Parsing xml data from the server using kxml2 in J2ME
    By dninsiima in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2010-03-26, 08:08
  3. Some problems related to xml parsing
    By anup007star in forum Symbian C++
    Replies: 1
    Last Post: 2009-07-20, 05:37
  4. XML Parsing using HTTP request.
    By somnathbanik in forum Symbian C++
    Replies: 29
    Last Post: 2009-06-27, 07:24
  5. Need knowledge about XML and XML Parsing
    By 02060515 in forum Mobile Java General
    Replies: 1
    Last Post: 2008-07-07, 08:41

Posting Permissions

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