Re: [xml] indentation after adding new nodes



Hi,

Senthil Nathan wrote:
I tried using the xmlCopyDocNode( ) and xmlCopyNode( ). It copies the node
but the indentation is not proper.

There is no indentation in an XML tree, but there may be text nodes that
contain whitespace. Maybe you didn't copy those?


How can we set the indentation in libxml2?

What are you trying to do?

Stefan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]