R
remi
Hi,
I don't know if I am in the good newsgroup... Anyway, feel free to
redirect me where it is more relevant.
I am using SAX (with python) to parse a XML file like this one :
<section id="1" name="Nom" description="blabla">
<sousSection id="1" thema="mon thème">
some text here mixed with html code
some lists in html
</sousSection>
<sousSection id="2" thema="thème 2">
another paragraph
</sousSection>
I use characters() method but this one one is called everytime there is
a newline in the text between the <sousSection...> </sousSection> wiwh
seem to be a normal behavior.
How can I have characters method called once and act on the whole
paragraph in "one shot" ?
Thanks for your help.
Rémi.
I don't know if I am in the good newsgroup... Anyway, feel free to
redirect me where it is more relevant.
I am using SAX (with python) to parse a XML file like this one :
<section id="1" name="Nom" description="blabla">
<sousSection id="1" thema="mon thème">
some text here mixed with html code
some lists in html
</sousSection>
<sousSection id="2" thema="thème 2">
another paragraph
</sousSection>
I use characters() method but this one one is called everytime there is
a newline in the text between the <sousSection...> </sousSection> wiwh
seem to be a normal behavior.
How can I have characters method called once and act on the whole
paragraph in "one shot" ?
Thanks for your help.
Rémi.