Is it possible to display content from an XML file in a DIV upon clicking, without using IDs and involving multiple DIVs?
For instance, when clicking on the first link in the following code snippet, the content from an XML file should only appear in the respective DIV below the link, all without manually assigning any IDs.
<a class="reveal">Reveal</a>
<div class="xml-content">Content will be displayed here</div>
<a class="reveal">Reveal</a>
<div class="xml-content">Different content appears here</div>
Unfortunately, I have not been able to make this work so far.