XML Output: libxo - provide single API to output TXT, XML, JSON and HTML

Simon J. Gerraty sjg at juniper.net
Fri Aug 15 05:36:18 UTC 2014


On Thu, 14 Aug 2014 17:44:34 -0700, Alfred Perlstein writes:
>I don't understand the need to query these programs for support of the 
>option.

It's very simlpe.  You run app A and tell it to output XML.
App A needs to run app B, and needs to know if it can output valid XML
or whether all its output needs to be wrapped/escaped.
Failure to handle this will result in garbage.


More information about the freebsd-arch mailing list