scratchpad
Logicus
<p>The rules of aXML :</p>
<p>1: Child tags have priority over parent tags of the same class</p>
<code>
<compute_last>
<compute_middle>
<compute_first>
</compute_first>
<compute_middle>
</compute_last>
</code>
<p>2: A tags class is defined by its delimiters :</p>
<code>
(primary) (/primary)
<secondary> </secondary>
[tertiary] [/tertiary]
</code>
<p>3: Primary tags have priority over secondary and teriary, and secondary have priority over only teriary, regardless of
parent/child relationships.</p>
<code>
(compute_first)
<compute_second>
[compute_last]
[/compute_last]
<compute_second>
(/compute_first)
[compute_last]
<compute_middle>
(compute_first)
(/compute_first)
</compute_middle>
[/compute_last]
aXML also allows for tags to exist within the attribute tags of other tags (or anywhere else for that matter) :
(compute_second somearg="(compute_first)(/compute_first)")
<compute_third>
[compute_fourth] [/compute_fourth]
</compute_third>
(/compute_second)
</code>
<p>4: tags are only aXML tags if they are defined by matching a corresponding plugin which gives them a role.</p>