×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,349

    XML Parsing (WRT)

    Hi,
    I am very new to WRT development. Could anyone please help me with some link or article which can help me to parse XML from remote location.
    Is there any example code, like we get in S60 SDK folder?


    Please suggest me.

  2. #2
    Nokia Developer Moderator
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: XML Parsing (WRT)

    When creating a new project on Web SDK please select RSS reader project. FeedUpdateBroker.js has function handleResponse which you can use as an example.

    -Ilkka

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: XML Parsing (WRT)

    As a possibly useful note: when working with XMLHttpRequest objects in JavaScript, the remote XML documents get automatically parsed, so all you have to do is to access nodes and attributes via the 'responseXML' property of the XMLHttpRequest object itself.

    Pit

  4. #4
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,349

    Re: XML Parsing (WRT)

    Quote Originally Posted by jappit View Post
    As a possibly useful note: when working with XMLHttpRequest objects in JavaScript, the remote XML documents get automatically parsed, so all you have to do is to access nodes and attributes via the 'responseXML' property of the XMLHttpRequest object itself.

    Pit
    Thanks Pit,
    I have followed your example http://wiki.forum.nokia.com/index.ph..._Web_Templates and now I am trying to play flv files. I mean I am trying to display the list of thumbnails in my app and when I click on the image the video shoud play.
    Regarding this I have this post http://discussion.forum.nokia.com/fo...739#post808739


    I would be kind enough if you could have a look in this.

  5. #5
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,349

    Re: XML Parsing (WRT)

    I got many articles and examples that can parse RSS and JOSN. But when I use the same example and change the xml link its not working. How do I parse my own defined XML not the standard RSS or JSON. Is there any example for that?

  6. #6
    Regular Contributor
    Join Date
    Jun 2009
    Posts
    103

    Re: XML Parsing (WRT)


Similar Threads

  1. Replies: 12
    Last Post: 2010-03-21, 19:25
  2. WRT parsing of non-xhtml HTML
    By Trinition in forum Symbian Web Runtime
    Replies: 1
    Last Post: 2010-03-01, 09:55
  3. xml parsing problem when using xml framework
    By dougcn in forum Symbian C++
    Replies: 3
    Last Post: 2009-08-20, 02:27
  4. Need knowledge about XML and XML Parsing
    By 02060515 in forum Mobile Java General
    Replies: 1
    Last Post: 2008-07-07, 08:41
  5. XML parsing with with Xml::CParser - problems
    By mka_bls in forum Symbian C++
    Replies: 3
    Last Post: 2006-08-07, 16:07

Posting Permissions

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