2 * Copyright (C) 2021 EfficiOS Inc.
4 * SPDX-License-Identifier: GPL-2.0-only
9 * Prettyfi a xml input from stdin to stddout.
10 * This allows a more human friendly format for xml testing when problems occur.
13 #include <libxml/parser.h>
21 xmlKeepBlanksDefault(0);
23 /* Parse the XML document from stdin. */
24 doc
= xmlParseFile("-");
26 fprintf(stderr
, "ERR parsing: xml input invalid");
30 xmlDocFormatDump(stdout
, doc
, 1);
33 /* Shutdown libxml. */
This page took 0.041879 seconds and 4 git commands to generate.