On Fri, Oct 21, 2005 at 10:51:07AM +0100, Antony Gelberg wrote:
William Ballard wrote:
> Single-letter element-centric XML is fairly readable:
>
> <o><t/>
> <p><o><p/><e>14</e><e>32</e></o></p>
> <p><o><m/><e>18</e><e>92</e></o></p>
> </o>
You are joking, right?
You're just not used to it. Once you get the hang of the "context" --
i.e., in that, <o/> means operation, first child of <o/> is the
operator, example operators are times <t/> and plus <p/>, subsequent
children of <o/> are operands, valid operands are either sub-operations
<o/> or parenthesis <p/> for grouping, <e/> contains only text values
which are numbers.
I have carried this kind of thing out to express an entire relational
database, including emedded schema, lookups, and computed columns, as a
concise XML document that is easy to grasp at a glance and easy to
maintain by hand in an editor.
Here is an example. Look f'd up to you?