<div class="grammar">
<ref id="hello">
<p><xref id="opening" /> <xref id="name" /></p>
</ref>
<ref id="opening">
<p>hi</p>
<p>*hello*</p>
</ref>
<ref id="name">
<p>tom</p>
<p>bart</p>
</ref>
</div>
<span class="grammar>.<ref> elements that each contain one or more <p> elements.<xref> cross-reference is a random paragraph from that <ref>.<p> element can contain wiki syntax (*strong*, [[page]], ...)