Messages in this thread |  | | Subject | Re: /proc & xml data | Date | Tue, 31 Oct 2000 00:20:45 +0100 | From | Olaf Titz <> |
| |
> "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/
|  |