Forums

[resolved] loading XML documents (2 posts)

  1. tifire
    Member
    Posted 9 months ago #

    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.]

  2. tifire
    Member
    Posted 9 months ago #

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

Reply

You must log in to post.

About this Topic