XML Output: libxo - provide single API to output TXT, XML, JSON and HTML
Simon J. Gerraty
sjg at juniper.net
Wed Jul 30 05:41:50 UTC 2014
On Tue, 29 Jul 2014 23:19:39 -0400, Garance A Drosehn writes:
>One question that comes up is how to organize the data in the output the
>command creates. For instance, my experiment is just trying to mimic a
Good point and frankly a good reason to have the work done by someone
who's been doing exactly that sort of thing (successfully) for well over
a decade.
>I personally don't expect unix commands to output HTML, and I find XML a
>bit
>unwieldy to work with. But in my own bikeshed I'm interested in formats
Both are horrendous formats ;-) but there are abundent tools to work with
them and json too I believe.
A modern browser with off the shell javacript/json "thingies" (you can
tell I'm not a web developer ;-) can allow some very slick stuff with
the sort of info we can output from our UI - and this lib let's any app
do the same thing.
--sjg
More information about the freebsd-arch
mailing list