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

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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