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

Introducing live-xmaker



On Sat, Aug 23, 2008 at 10:54:57AM +0100, Brendan Sleight wrote:
> Hi Tzafrir,
> 
> 2008/8/23 Tzafrir Cohen wrote:
> 
> > This will break when you try to use other tools to process your XML
> > data.
> 
> Works for me with other tools, see below.
> 
> bms at tina:~/debian-live$ python
> Python 2.5.2 (r252:60911, May 28 2008, 08:35:32)
> [GCC 4.2.4 (Debian 4.2.4-1)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from amara import binderytools
> >>> template = binderytools.bind_file('config.xml')
> >>> print template.live_helper.common.lh_cache_packages
> False
> >>> print template.live_helper.chroot.lh_language
> de
> >>> exit()
> 
> I do not think anyone is forcing people to use XML, but it may be
> useful as an option to some people who like XML.

Kindly answer to what I actually wrote.

He wrote his own "XML parser" in xml.sh. The XML config you generate in
your python script might work with it. Or not. Likewise for any other
XML library and generator out there.

Maybe using XML is a good idea. But this implementation fails to address
a number of substantial issues I have raised.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



Reply to: