Suppress XML preamble in CSV export

To obey <xsl:output omit-xml-declaration="yes"/> element
one should rely on libxslt to do its job instead of writing
document himself.

Discussion on this subject can be found at
http://comments.gmane.org/gmane.comp.gnome.lib.xslt/3839

Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Sergey Starosek 2014-07-16 12:57:29 +04:00 committed by Dirk Hohndel
parent 32a76671ed
commit b87a602265
2 changed files with 11 additions and 9 deletions

1
dive.h
View file

@ -36,6 +36,7 @@ static inline char *copy_string(const char *s)
#include <libxml/tree.h>
#include <libxslt/transform.h>
#include <libxslt/xsltutils.h>
#include "sha1.h"
#include "units.h"