Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Converting XML to JSON (Or, creating a non-Flash interactive map)

Converting XML to JSON (Or, creating a non-Flash interactive map)
Thread Tools
Moderator
Join Date: Jun 2000
Location: We come from the land of the ice and snow...
Status: Offline
Reply With Quote
Dec 1, 2011, 07:37 AM
 
I am trying to adapt someone else's javascript map to use our data. Unfortunately, our data is in XML and the script uses json. I've been googling and run down many rabbit holes but it seems that the only way to convert xml to json is with some other script loaded, which requires another script to be loaded, and so on. MANY other possibilities, I'm a little overwhelmed and don't know which one is best.

I can't use PHP because the eventual platform won't be PHP based. :/

What have people used? Or would I be better off learning enough javascript to make this map script use XML?

jVectorMap
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:00 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2