Re: [XML-SIG] using minidom

2007-06-25 Thread Andrew Clover
Alexandro Colorado wrote: > I joined yet I don't see many user-driven question which makes me > think that maybe I am on the wrong list. Nope, you're fine - apart from the mailspew (if that's not at my end). This list is quiet of late as the PyXML project sees little development these days. min

Re: [XML-SIG] using minidom

2007-06-25 Thread Alexandro Colorado
>> In case minidom is not a requirement, you can use lxml.etree: >> >> >>> import lxml.etree as et >> >>> finditems = et.XPath("//tb:[EMAIL PROTECTED]:visible = 'false']", >> {'tb' : "http://openoffice.org/2001/toolbar"}) >> >>> tree = et.parse("myfile.xml") >> >>> f

Re: [XML-SIG] using minidom

2007-06-25 Thread Alexandro Colorado
On Mon, 25 Jun 2007 07:15:14 -0500, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Hi, > > Alexandro Colorado wrote: >> So basically this is what I want, I want to progamatically be able to >> change the atribute of an XML: >> >> >> > 1.0//EN" "toolbar.dtd"> >> http://openoffice.org/2001/toolbar"; >>

Re: [XML-SIG] using minidom

2007-06-25 Thread Stefan Behnel
Hi, Stefan Behnel wrote: > Alexandro Colorado wrote: >> So basically this is what I want, I want to progamatically be able to >> change the atribute of an XML: >> >> >> > 1.0//EN" "toolbar.dtd"> >> http://openoffice.org/2001/toolbar"; >> xmlns:xlink="http://www.w3.org/1999/xlink";> >> >> .

Re: [XML-SIG] using minidom

2007-06-25 Thread Stefan Behnel
Hi, Alexandro Colorado wrote: > So basically this is what I want, I want to progamatically be able to > change the atribute of an XML: > > > 1.0//EN" "toolbar.dtd"> > http://openoffice.org/2001/toolbar"; > xmlns:xlink="http://www.w3.org/1999/xlink";> > > > > > I want to change the

[XML-SIG] using minidom

2007-06-24 Thread Alexandro Colorado
I am very confused about this mailing list, I joined yet I don't see many user-driven question which makes me think that maybe I am on the wrong list. Basically I know python to a very basic level, however I am triying to grasp some of the XML modules and manipulate XML on a faster way throu