Supposing I were trying to compile a parsable list of domains, would this be a good way to represent each one?
<domain>
<type>planar</type>
<name>Baator</name>
<source>
<date>2006-12</date>
<title>Fiendish Codex II</title>
<page>26</page>
</source>
<deity>
<name>any archdevil</name>
<source>
<title>Fiendish Codex II</title>
<page>26</page>
</source>
</deity>
<requirement>Must be Lawful Evil.</requirement>
<power>
<type>su</type>
<text>You gain the ability to see perfectly in darkness of any kind, even that created by a deeper darkness spell.
Add Bluff to your list of cleric class skills.</text>
</power>
<spell>
<level>1</level>
<name>Bane</name>
<description>Enemies take –1 on attack rolls and saves against fear.</description>
</spell>
<spell>
<level>1</level>
<name>Disguise Self</name>
<description>Changes your appearance.</description>
</spell>
<spell>
<level>2</level>
<name>Darkness</name>
<description>20-ft. radius of supernatural shadow.</description>
</spell>
<spell>
<level>2</level>
<name>Fox’s Cunning</name>
<description>Subject gains +4 to Intelligence for 1 minute/level.</description>
</spell>
<spell>
<level>3</level>
<name>Detect Thoughts</name>
<description>Allows “listening” to surface thoughts.</description>
</spell>
<spell>
<level>3</level>
<name>Summon Monster III</name>
<description>Calls extraplanar creature to fight for you.*</description>
</spell>
<spell>
<level>4</level>
<name>Deeper Darkness</name>
<description>Object sheds supernatural shadow in 60-ft. radius.</description>
</spell>
<spell>
<level>4</level>
<name>Suggestion</name>
<description>Compels subject to follow stated course of action.</description>
</spell>
<spell>
<level>5</level>
<name>Spell Resistance</name>
<description>Subject gains SR 12 + level.</description>
</spell>
<spell>
<level>5</level>
<name>Summon Monster V</name>
<description>Calls extraplanar creature to fight for you.*</description>
</spell>
<spell>
<level>6</level>
<name>Dominate Person</name>
<description>Controls humanoid telepathically.</description>
</spell>
<spell>
<level>6</level>
<name>Fox’s Cunning, Mass</name>
<description>As fox’s cunning, but affects one subject/level.</description>
</spell>
<spell>
<level>7</level>
<name>Repulsion</name>
<description>Creatures can’t approach you.</description>
</spell>
<spell>
<level>7</level>
<name>Summon Monster VII</name>
<description>Calls extraplanar creature to fight for you.*</description>
</spell>
<spell>
<level>8</level>
<name>Demand</name>
<description>As sending, plus you can send suggestion.</description>
</spell>
<spell>
<level>8</level>
<name>Spell Turning</name>
<description>Reflect 1d4+6 spell levels back at caster.</description>
</spell>
<spell>
<level>9</level>
<name>Imprisonment</name>
<description>Entombs subject beneath the earth.</description>
</spell>
<spell>
<level>9</level>
<name>Summon Monster IX</name>
<description>Calls extraplanar creature to fight for you.*</description>
</spell>
<note>* Lawful evil creatures only.</note>
</domain>
I there any problem if the text in a tag contains a line break?
What tools would be good to use?
A couple of things I might want to point out about how I structured the example. I'd like to list all the sources, but only describe the most recent version. I'd like each deity to have a corresponding source, since the fact that a given deity offers a given domain may only be noted in an obscure location.