Re: Problem with Elementtree and XMLSchem instance type

2010-08-07 Thread Stefan Behnel
Roland Hedberg, 30.07.2010 15:21: I have the following XML snippet: http://www.w3.org/2001/XMLSchema-instance"; xmlns:fed="http://docs.oasis-open.org/wsfed/federation/200706"; xsi:type="fed:SecurityTokenServiceType"> This part after parsing with Elementtree gives me an Elem

Re: Problem with Elementtree and XMLSchem instance type

2010-08-02 Thread Lawrence D'Oliveiro
In message <6627204c-d0b1-456d-94bd-76d946ad2...@g6g2000pro.googlegroups.com>, Carl Banks wrote: > On Aug 1, 5:43 pm, Lawrence D'Oliveiro > wrote: > >> In message >> <96e47fd8-c939-48a2-9a2b-92afa720c...@k1g2000prl.googlegroups.com>, Carl >> Banks wrote: >> >>> My general feeling is that Element

Re: Problem with Elementtree and XMLSchem instance type

2010-08-02 Thread NewBlue
> "Lawrence" == Lawrence D'Oliveiro > writes: Lawrence> In message Lawrence> , Lawrence> Roland Lawrence> Hedberg wrote: > And there is the problem, I've lost the coupling between the prefix >> 'fed' and the namespace >> "http://docs.oasis-open.org/wsfed/federati

Re: Problem with Elementtree and XMLSchem instance type

2010-08-01 Thread Carl Banks
On Aug 1, 5:43 pm, Lawrence D'Oliveiro wrote: > In message > <96e47fd8-c939-48a2-9a2b-92afa720c...@k1g2000prl.googlegroups.com>, Carl > > Banks wrote: > > My general feeling is that ElementTree is a lot handier for reading > > and writing your own XML formats, than for handling XML files produced

Re: Problem with Elementtree and XMLSchem instance type

2010-08-01 Thread Lawrence D'Oliveiro
In message <96e47fd8-c939-48a2-9a2b-92afa720c...@k1g2000prl.googlegroups.com>, Carl Banks wrote: > My general feeling is that ElementTree is a lot handier for reading > and writing your own XML formats, than for handling XML files produced > by other tools. Why is that? I’ve successfully used it

Re: Problem with Elementtree and XMLSchem instance type

2010-07-31 Thread Carl Banks
On Jul 30, 6:21 am, Roland Hedberg wrote: > Hi! > > I have the following XML snippet: > >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >     xmlns:fed="http://docs.oasis-open.org/wsfed/federation/200706"; >     xsi:type="fed:SecurityTokenServiceType"> >     > > > This part aft

Re: Problem with Elementtree and XMLSchem instance type

2010-07-31 Thread Lawrence D'Oliveiro
In message , Roland Hedberg wrote: > And there is the problem, I've lost the coupling between the prefix > 'fed' and the namespace > "http://docs.oasis-open.org/wsfed/federation/200706";. Why is this a problem? -- http://mail.python.org/mailman/listinfo/python-list

Problem with Elementtree and XMLSchem instance type

2010-07-30 Thread Roland Hedberg
Hi! I have the following XML snippet: http://www.w3.org/2001/XMLSchema-instance"; xmlns:fed="http://docs.oasis-open.org/wsfed/federation/200706"; xsi:type="fed:SecurityTokenServiceType"> This part after parsing with Elementtree gives me an Element instance with the following pr