[EMAIL PROTECTED] wrote:
> but how do I detect that the parser has split up the characters? I gues
> I need to detect it in order to reconstruct the complete string

Don't try to detect it. Instead, assume it always happens, and collect
the strings in characters(), rather than processing them. Do something
like this

   def startElement(self, ...):
       self.chardata = ""

   def characters(self, data):
       self.chardata += data

   def endElement(self, ...):
       process(self.chardata)

This is simplified - you might have to deal with nested elements,
somehow.

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to