• Resolved tifire

    (@tifire)


    As part of my own google maps plugin, I would like to export the table data of mysql database into an XML format. Then my map retrieves through asynchronous JavaScript calls.

    Now here goes the problem. The function loadXMLDoc() doesn’t seem to work at all if I put it inside the JavaScript of my WordPress, all other parts of the WordPress JavaScript code do work well. The function loadXMLDoc() works great if I put the JavaScript inside an independant html file.

    Can anyone tell me what could be the problem? What’s the best way to load XML documents into WordPress?

    Thanks a lot.

    [No bumping, please.]

Viewing 1 replies (of 1 total)
  • Thread Starter tifire

    (@tifire)

    I solved the problem. It turned out that full path of the xml file is needed in the wordpress.

Viewing 1 replies (of 1 total)

The topic ‘loading XML documents’ is closed to new replies.