×

Discussion Board

Results 1 to 3 of 3

Thread: XML File

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    34

    Lightbulb XML File

    I am newer in Widset development I want to know that
    (1)I want to develop a widget that get the information of news but I did not get url of xml file which to be parse.
    (2)Is it neccesory that which page we want to access that it should have xml file

  2. #2
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    60

    Re: XML File

    Quote Originally Posted by meet2saurabhmail View Post
    I am newer in Widset development I want to know that
    (1)I want to develop a widget that get the information of news but I did not get url of xml file which to be parse.
    (2)Is it neccesory that which page we want to access that it should have xml file
    I'm not sure I understand question #1. Can you please try to explain what you mean?

    As far as #2 is concerned, you can fetch any kind of text information using the XMLHttpRequest - not just XML. If you want the data as text rather than a parsed XML DOM tree then just use the responseText property of XMLHttpRequest after the request has been completely fetched.

    Peppe

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

    Re: XML File

    Hi,

    I think meet2saurabhmail is referring to Widsets: to access any kind of remote content you can actually look at this complete Wiki article

    http://wiki.forum.nokia.com/index.ph...:_HTTP_Request

    Expecially the 3rd usage example has useful code for your needs:

    http://wiki.forum.nokia.com/index.ph...sage_Example_3

    Pit

Similar Threads

  1. parsing an xml file from the device location?
    By SanjayKhuntia in forum Mobile Java General
    Replies: 1
    Last Post: 2008-09-02, 15:55
  2. write a float into the xml file
    By yanhua in forum Symbian
    Replies: 0
    Last Post: 2007-10-21, 21:27
  3. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  4. Help needed with a 3gp file...
    By joedoe_1981 in forum Streaming and Video
    Replies: 0
    Last Post: 2007-07-18, 18:58
  5. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22

Posting Permissions

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