Date: Wed, 14 Apr 2004 17:44:09 +0100 From: dom@happygiraffe.net (Dominic Mitchell) To: Stefan E?er <se@FreeBSD.org>, Martin <nakal@web.de>, Garance A Drosihn <drosih@rpi.edu>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Second "RFC" on pkg-data idea for ports Message-ID: <20040414164409.GA34036@ppe.happygiraffe.net> In-Reply-To: <20040414161942.GB5753@StefanEsser.FreeBSD.org> References: <p0602040cbca10a7dbe52@[128.113.24.47]> <20040413121925.GB29867@voodoo.oberon.net> <p0602041abca1e49dde40@[128.113.24.47]> <407C4035.8020609@ciam.ru> <p0602041fbca1ff481e60@[128.113.24.47]> <1081896823.772.58.camel@klotz.local> <p06020421bca222e97833@[128.113.24.47]> <1081901028.772.72.camel@klotz.local> <20040414161942.GB5753@StefanEsser.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414164409.GA34036>