Re: [Glade-devel] Glade2 Project Saving

Date view Thread view Subject view Author view

From: James Henstridge (james@daa.com.au)
Date: Sat Jun 30 2001 - 20:08:47 EDT


On 30 Jun 2001, Neil Mock wrote:

> I've been working on the project saving in glade2 using libxml2. This
> is halted for the moment while I try to figure out how to handle
> indention with libxml2. It doesn't automatically do it like libxml1
> does, and from what I've seen on XML mailing lists, the best solution
> seems to be adding formatting whitespace into the individual nodes. If
> this is the case, I suppose more convenience functions can be added to
> glade-xml-utils. If anyone else has any suggestions, by all means let
> them be known.

I wrote a small routine in libglade to convert libglade's internal
structures back into XML, complete with indentation. Take a look at those
functions in libglade/glade/glade-parser.c for details.

James.

-- 
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/

_______________________________________________ Glade-devel maillist - Glade-devel@ximian.com http://lists.ximian.com/mailman/listinfo/glade-devel


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 20:56:08 EDT