click > send string to xml > get specific node from xml > parse it > load it on modal window
I'm taking way too long to solve this. I'm about to give up, but I figured I'd give you sorcerers a try.
I have a xml file. I want to click a link with a string, use that string to match and select a specific xml node [name], parse it to html, and load it on a modal window (fancybox):
click > send string to xml > get specific node from xml > parse it > load it on modal window
This is how my xml file looks like:
- <speakers>
- <speaker>
- <name>Cátia Miriam Costa</name>
- <bio>Es Licenciada en Relaciones Internacionales, Máster en Estudios Africanos, doctoranda en Literatura africana y co-directora de la revista Ifriqya: lletres africanes.</bio>
- </speaker>
- ...
In layman terms:
Click "Cátia Miriam Costa", load modal window with Catia's name and bio.
Thank you,
Ana Rita