+ Reply to Thread
Results 1 to 3 of 3

Thread: Can't solve error with my html file when reading xml file(API) plz help

  1. #1
    kedatinh2121983
    Guest

    Can't solve error with my html file when reading xml file(API) plz help

    In my html file i'm trying to read from an xml file which has the lat and lng of markers to display on google map. i do the following steps:



    var request = GXmlHttp.create();

    request.open("GET", "example.xml", true);

    request.onreadystatechange = function() {

    if (request.readyState == 4) {

    var xmlDoc = GXml.parse(request.responseText);

    // obtain the array of markers and loop through it



    var markers = xmlDoc.documentElement.getElementsByTagName("marker");







    and here in this step it appears the error and says:



    Error:'documentElement' is null or not an object....





    and i'm sure from the tag name and the file name.



    so is there any body has an answer for this error???



    plz help



    thanks
    More Information:
    1. but having a basic understanding of how Perl can be used to help XML and databases work together is a useful skill to add to your bag of tricks
    2. How To Read From Text File And Append It To Excel File could somebody pls help to read from a text file and append the content to excel file
    3. ma webpage,its givin me an error message ERROR CHECK IP SCRIPT,please can u help me to solve this problem,because i haven't change anything else only the xml file for
    4. How can I filter just to get the information I need from the file!?!?
    5. 15 posts - 12 authors - Last post: Jul 13, 2007The work folder or the folder containing class files is read only and because of that this error appears
    6. In the html file you can set some variables for the poll like dimensions (width and height), the path to the files if you choose to put them in another location

    More:


  2. #2
    khangninh2005
    Guest

    now i knew what's the problem but i can't solve too.



    the problem is that the html file can't find the xml file and it doesn't open it while it is in the same directory and even if iu put the whole path.



    is there any suggestions how can i solve this problem????
    More Information:
    1. But looking at all the as files availible I cannot find any reference for parsing these youtube xml files or removing the string &f=gdata_user_uploads
    2. JavaScript doesn't normally have file controls but it does under Windows if you can get the
    3. html" updating it in place and writing the error messages to the file "errs
    4. I have read somewhere that avoiding Internet Explorer to cache files, could help
    5. HTML has limited set of Tags But XML can be extended (i
    6. You can see that there is a <video> entry in the <switch> container for each rendition of the file
    7. this will make the key valid for all html files on this location)
    8. The following sample demonstrates how you can export one or many tables from a database to a flat XML dataset file
    9. Can't solve error with my html file when reading xml file(API) plz help

+ Reply to Thread

Similar Threads

  1. How can I create an HTML file , that calls the data from an XML file?
    I have an XML file that includes 300 records with this format , XML Sample: unclassfied MERITTA HOTEL 10 th OF RAMADAN...
  2. Looking for a bulk email script - Timed emails reading from html file and text list.
    I need some kind of bulk email script that is set on my server which sends x,xxx emails per hour reading the mail from a html file and the addresses...
  3. Hear a PDF file instead of reading it
    Do you know? You can listen to any PDF instead of reading with Adobe Reader 7.0 or 6.0, and the short cut is: Ctrl shift b - to hear the...
  4. File Handling! Reading Text File!
    asp Code: Sub page_load(Sender As Object,e As EventArgs) Dim filetoread as string filetoread=server.mappath("Output.txt") dim filestream as...
  5. how to include text file in .html file
    how to include text file in .html file. i know its easy question but i don know i guess syntax starts like this

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish