Re: [XML-SIG] elementtree and uncomplete parsing

2008-07-15 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: I would like to retrieve what is between the tags ... into strings, the "subelements" being considered as simple string and not processed by elelement tree. In other words, this could be badly formed HTML not processed embeded into well formed xml tags. i.e. : string1

Re: [XML-SIG] elementtree and uncomplete parsing

2008-06-21 Thread Stefan Behnel
Hi, Jean-Marc Chourot wrote: > The real problem is not about "badly formed HTML" : each node will > correspond to a leaf of a wx.TreeCtrl and the data associated to the > leaf will be the content of a wx.RichTextCtrl. When saving the whole > tree content in one file, I want to be able to get the s

[XML-SIG] elementtree and uncomplete parsing

2008-06-21 Thread Jean-Marc Chourot
> Hi, > > [EMAIL PROTECTED] wrote: > > > > This text is completely crap because > > blabla > > > > > > > > This is another node with random > > tags > > > > > > > > I would like to retrieve what is between the tags ... into > > strings, the "subelements" being considered as simple

Re: [XML-SIG] elementtree and uncomplete parsing

2008-06-20 Thread Stefan Behnel
Hi, [EMAIL PROTECTED] wrote: > > This text is completely crap because blabla > > > > This is another node with random tags > > > > I would like to retrieve what is between the tags ... into > strings, the "subelements" being considered as simple string and not processed > by elelemen

[XML-SIG] elementtree and uncomplete parsing

2008-06-20 Thread jeanmarc . chourot
Hi all, As a noob, I cannot find the way to make an incomplete parse of a tree. For instance, please consider the following xml file This text is completely crap because blabla This is another node with random tags I would like to retrieve what is between the tags ... into strings,