On May 17, 4:17 pm, Stefan Behnel <[EMAIL PROTECTED]> wrote:
> J. Pablo Fernández wrote:
> > I have an XML file that starts with:
>
> >
> >
> >
> > *-a
> >
>
> > out of it, I'd like to extract something like (I'm just showing one
> > structure, any structure as long as all data is there is fi
J. Pablo Fernández wrote:
> I have an XML file that starts with:
>
>
>
>
> *-a
>
>
> out of it, I'd like to extract something like (I'm just showing one
> structure, any structure as long as all data is there is fine):
>
> [("ofc", "*"), "-", ("rad", "a")]
>>> root = etree.fromstring(
J. Pablo Fernández wrote:
On May 17, 2:19 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
En Fri, 16 May 2008 18:53:03 -0300, J. Pablo Fernández <[EMAIL PROTECTED]>
escribió:
Hello,
I have an XML file that starts with:
*-a
out of it, I'd like to extract something like (I'm just sh
On May 17, 2:19 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Fri, 16 May 2008 18:53:03 -0300, J. Pablo Fernández <[EMAIL PROTECTED]>
> escribió:
>
>
>
> > Hello,
>
> > I have an XML file that starts with:
>
> >
> >
> >
> > *-a
> >
>
> > out of it, I'd like to extract something li
En Fri, 16 May 2008 18:53:03 -0300, J. Pablo Fernández <[EMAIL PROTECTED]>
escribió:
Hello,
I have an XML file that starts with:
*-a
out of it, I'd like to extract something like (I'm just showing one
structure, any structure as long as all data is there is fine):
[("ofc", "*"), "-",
Hello,
I have an XML file that starts with:
*-a
out of it, I'd like to extract something like (I'm just showing one
structure, any structure as long as all data is there is fine):
[("ofc", "*"), "-", ("rad", "a")]
How can I do it? I managed to get the content of boths tags and the
text u