> "MemTotal: %8lu kB\n"
> to something like
> "<memtotal>%8lu kB</memtotal>\n"
The latter form offers no significant advantage over the former at
all - there is nothing that can be expressed as
<name>value</name>
which can't also be expressed as
name: value
or
name=value
and the latter format is significantly easier to parse.
The only situation where XML really would be useful would be
some need of grouping, and this is done in /proc using directories.
(Which are also much easier to parse using existing standard tools.)
Olaf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:28 EST