Re: [xml] Formatting output

On Wed, Dec 11, 2002 at 02:36:09PM -0800, Brett Robichaud wrote:
I'm using libXML 2.4.28 on Windows and 2.4.25 on Solaris 8.  Can anyone tell
me how I can add a new tag to an existing document and have it indent and
linebreak correctly?

  No. Because "indent and linebreak correctly" is not a problem which
can be solved in the general case. "You know what indetation you want
so add the proper text nodes needed to make that indentation" is the
only correct answer.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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