streaming xml pretty printer in C/C++ using expat or libxml2?
- by Mark Zeren
I have a library that outputs xml without whitespace all on one line. In some cases I'd like to pretty print that output. I'm looking for a BSD-ish licensed C/C++ library or sample code that will take a raw xml byte stream and pretty print it. Here's some pseudo code showing one way that I might use this functionality:
void my_write(const char*…