Re: [xml] indentation after adding new nodes
- From: "Senthil Nathan" <rsennat gmail com>
- To: "Stefan Behnel" <stefan_ml behnel de>
- Cc: xml gnome org
- Subject: Re: [xml] indentation after adding new nodes
- Date: Thu, 6 Mar 2008 23:43:32 +0530
That's true. But when I dump the tree to a file, the indentation is not proper.
All the nodes that I copied are just continuous.
The xml file generated after dumping from libxml2 with few nodes added or copied,
On Thu, Mar 6, 2008 at 11:33 PM, Stefan Behnel <stefan_ml behnel de
There is no indentation in an XML tree, but there may be text nodes that
Senthil Nathan wrote:
> I tried using the xmlCopyDocNode( ) and xmlCopyNode( ). It copies the node
> but the indentation is not proper.
contain whitespace. Maybe you didn't copy those?
What are you trying to do?
> How can we set the indentation in libxml2?
] [Thread Prev