Re: Ok, who is the smart guy that invented XML?



Seebs <usenet-nospam@xxxxxxxxx> writes:

For an example of a stupid but at least it works XML data format, look at
the configuration files for Rise of Nations. Actual example:

<CHINESE_SCIENCE_BONUS>25</CHINESE_SCIENCE_BONUS>

Now, if they'd done something like
<FACTION>
<NAME>China</NAME>
...
<BONUS>
<ATTRIBUTE>Science</ATTRIBUTE>
<VALUE>25</VALUE>
</BONUS>
</FACTION>

it might have been a lot more usful and flexible. But they didn't.

Of course, this would have been far, far better:

(faction :name "China" :bonus (science 25) ...)

But that ship sailed a long, long time ago.

--
Robert A. Uhl
.