RE: [xml] Formatting output



Hmm, yes I can see it is an interesting problem.  Dissapointing news but I
guess I'm not surprised.

Thanks for the quick reply.

-Brett-



-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com] 
Sent: Wednesday, December 11, 2002 2:40 PM
To: Brett Robichaud
Cc: 'xml gnome org'
Subject: 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]