Deutsch   English   Français   Italiano  
<0b2d9848-ac47-41fe-8400-debbb3968e4en@googlegroups.com>

View for Bookmarking (what is this?)
Look up another Usenet article

X-Received: by 2002:a05:622a:5:b0:3f6:c5c7:fc4a with SMTP id x5-20020a05622a000500b003f6c5c7fc4amr1818741qtw.5.1685023105130;
        Thu, 25 May 2023 06:58:25 -0700 (PDT)
X-Received: by 2002:a81:af44:0:b0:562:837:122f with SMTP id
 x4-20020a81af44000000b005620837122fmr13669473ywj.9.1685023104873; Thu, 25 May
 2023 06:58:24 -0700 (PDT)
Path: ...!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: fr.comp.lang.python
Date: Thu, 25 May 2023 06:58:24 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=185.24.187.214; posting-account=dcD-vwoAAAADRTmn7k3Lt-A6Fc1w3JmV
NNTP-Posting-Host: 185.24.187.214
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0b2d9848-ac47-41fe-8400-debbb3968e4en@googlegroups.com>
Subject: XML : texte en forme de balise
From: "pata...@gmail.com" <patatetom@gmail.com>
Injection-Date: Thu, 25 May 2023 13:58:25 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 8
Bytes: 1574

bonjour,

j'ai cette cha=C3=AEne de caract=C3=A8res =C3=A0 traiter "<a><b>this is <ba=
d> tag text</b></a>".

du fait de la pr=C3=A9sence de "<bad>", xml.etree.ElementTree.fromstring() =
=C3=A9choue =C3=A0 traiter la cha=C3=AEne : comment puis-je pr=C3=A9ciser =
=C3=A0 xml.etree.ElementTree que <bad> n'est pas une balise ou inversement =
lui demander de ne consid=C3=A9rer que les balises a et b ?