invalid token problem ?

tag tonino.greco at gmail.com
Tue Aug 31 05:33:06 EDT 2004


Hi,

I have a xml field:

<Cell Col="2" Row="10">="Actual Asset mix
"&text($C$46,"dd-mmm-yyyy")</Cell>
                                               ^
                                               |
                               this is column 56

and am getting the following error:

xml.sax._exceptions.SAXParseException: <stdin>:21:56: not well-formed
(invalid token)

I have used the :
self.data += saxutils.escape(characters, self.transhash)

and transhash has :

transhash = { '"' : '"', '&' : '&' }

Can anyone please explain why I am getting the error ? What am I
missing ??

THANKS :)



More information about the Python-list mailing list