Re: [Setup-tool-hackers] [PATCH] for hardware-conf and platform.pl



On 09 Jun 2001 17:07:56 -0500, Chema Celorio wrote:
> On 10 Jun 2001 00:04:21 +0200, Richard Bos wrote:
> > Question 3 (I forgot to attach to my previous mail):
> > are there plans to make a function to print the header of the xml file;
> >   &xst_xml_print_line ("<?xml version='1.0' encoding='ISO-8859-1' 
> > standalone='yes'?>");
> >   &xst_xml_print_line ("<!DOCTYPE packages []>\n");
> >   &xst_xml_print_line ("<packages>");
> > 
> > The above 3 lines could be replaced by &xst_xml_print_head ("packages")
> > isn't it?
> 
> correct, and that is how it shuold be done so that we can change the
> header later if we need to.

Uhm... it's done, and been like that for quite some time already. 

&xst_xml_print_begin ();

does just that. You don't even need any arguments cause it knows the
name of the tool already!

Luke, use the source!

Tambet


_______________________________________________
setup-tool-hackers maillist  -  setup-tool-hackers@ximian.com
http://lists.ximian.com/mailman/listinfo/setup-tool-hackers



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