XML, JSON and HTML

Maybe I need to take a codings class, but is it possible to look for an element in an XML and use that factor to pull the location out of a JSON file to drop a pin on the map? For example XML says John Doe has red hair, JSON says John Doe lives at 123 ABC Dr. Based on “red hair” I want his marker to be a red pin. I’m not asking anyone to write the code but if you could maybe point me in the right direction…

Probably you need to parse the XML and iterate over each element. In every iteration you’d have to find his properties in the JSON.

Here is a page about parsing XML: XML Parser
And here a page about using JSON: JavaScript JSON