Myths on Maps

  • Log in
  • « Celtic Nation
  • Groups at Troy »

Events as descriptions for characters

Posted by simon on 28 Jun 2012 in Documentation

So in tackling the Calydonian Boar Hunt issue, Greg and I had to figure out how to include an event in a character's description. It's a bit complicated so: EXAMPLE!

<person xml:id="eurytion_1">
<persName>Eurytion</persName>
<note type="description">A participant in the <listEvent>
<event corresp="events.xml#event_101">
<desc>Calydonian Boar Hunt</desc>
</event>
</listEvent>, killed unintentionally by <persName corresp="#peleus"
>Peleus</persName>.</note>
<age n="9"/>
<note><listPerson>
<personGrp/>
<relation name="father" active="#antigone_2"/>
</listPerson></note>
<sex value="1">male</sex>
</person>

So within the description add <listEvent> then <event (and the xml id of the event you want)> then <desc>(put the name of event here) and close all the tags.

~Simon

This entry was posted by Simon and filed under Documentation.

Myths on Maps

This project will focus on deploying an interactive map of Europe with overlays for Greek and Roman myths, history, people and events.
SVN instructions for MoM editors
Development URL
HCMC Blogs home
  • Archives
  • Categories

Search

XML Feeds

  • Atom: Posts
  • RSS 2.0: Posts
What is RSS?

This collection ©2025 by admin • Help • Photo albums software