Guys I've been working in the past few weeks on a project that was
previously called Hackers XML Toolkit. Well, after the official release
I liked it so much that I changed the name to XML Toolkit. You can
download the code from
http://www.gnucitizen.org
http://www.gnucitizen.org/data/download/xt-
Well, why don't you try my XML Toolkit
http://www.gnucitizen.org/data/download/xt-0.7.BETA.py
This is what to do
import xt
element = xt.Element().loadstring('''
''')
element = xt.Element().loadfile('myfile.xml')
for e in element:
print e.name
print e.n
commendations? Or
even help me out rewriting some of it. I believe that the current design
is not bad at all, however, somebody may suggest a different approach to
solve a problem.
Thanks.
#XML Toolkit
#Copyright (C) 2005 Petko Petkov (GNUCITIZEN) [EMAIL PROTECTED]
#
#This program is free sof
official 0.7 version will be out soon.
Thanks for the advice again.
Uche Ogbuji wrote:
> On Thu, 2005-12-08 at 10:37 +0000, Petko Petkov wrote:
>
>> Hello to everybody,
>> This is XMLToolkit 0,7,BETA.2. I simplified most of the code. There are
>> a few new features ad
Oh, yes :)
You are right. I guess the best thing to do is:
return cdatastring[9:-3]
Right now I am rearranging all the parsing methods. Also, I am adding
methods that can compose xml.
Thanks.
Fredrik Lundh wrote:
> Petko Petkov wrote:
>
>
>> return cdatastring.lstrip('
ou please take my apologies and ignore.
#XML Toolkit
#Copyright (C) 2005 Petko Petkov (GNUCITIZEN) [EMAIL PROTECTED]
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Softwa