I am using d3.xml to parse xml data but it returns document object. So how do I convert xml data to json using javascript or d3.js.
Asked
Active
Viewed 321 times
2
-
http://www.utilities-online.info/xmltojson/ – Dawid C Feb 11 '15 at 09:58
-
1Hey Dawid thank you, but i need a javascript function which converts xml to json. So that i can convert data inside my code and use it directly in d3.js to create visualizations – nehal gala Feb 11 '15 at 10:03