Re: [XML-SIG] SAX characters() output on multiple lines for non-ascii

2008-02-03 Thread woodcock
Thanks for your reply. Well I have looked at it again and I lose the repeated lines if I remove the \n and simplify part of it to: if len(newchars)> 0: output = ''.join(newchars) sys.stdout.write(output) Start ELEMENT ='title' Der Einfluss kleiner naturnaher Retentio

Re: [XML-SIG] SAX characters() output on multiple lines for non-ascii

2008-02-03 Thread Stefan Behnel
Hi, woodcock wrote: > Thanks for your reply. Well I have looked at it again and I lose the repeated > lines if I remove the \n and simplify part of it to: > > if len(newchars)> 0: > output = ''.join(newchars) > sys.stdout.write(output) > > However if I try and put so