Write Xml to file with Indentation.
- From: Jayashree <jaya risktechnologysolutions com>
- To: libxmlplusplus-list gnome org
- Subject: Write Xml to file with Indentation.
- Date: Wed, 20 Jun 2012 13:44:00 -0400
Hi,
I am using the document object write_to_file method to create my output
file.
But it writes in as
<root><foo>Bar</foo></root>
but i want the output to be written with Indentation as given below
<root>
<foo>Bar</foo>
</root>
How can i achieve it.
regards,
Jaya
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]