Second "RFC" on pkg-data idea for ports
Dominic Mitchell
dom at happygiraffe.net
Wed Apr 14 09:44:13 PDT 2004
On Wed, Apr 14, 2004 at 06:19:42PM +0200, Stefan E?er wrote:
> Based on my experiences, I'd rather not generate XML data
> with printf(), since you have to be careful to encode special
> characters correctly and the XML serializer does this for you
> (including support for UTF-8, if desired).
> In fact, I found that building a DOM tree in RAM using libxml2
> calls is quite simple.
Tim Bray is developing a library called genx, designed for outputting
xml more correctly than printf(). It's pretty small and simple.
http://www.tbray.org/ongoing/When/200x/2004/02/20/GenxStatus
-Dom
More information about the freebsd-current
mailing list