Hi,
I have a string in my db like "Mike & Ike", and am trying to show it
in my kid with:
${XML(myobj.str)}
But, i'm getting this error:
File "/usr/lib/python2.5/site-packages/kid-0.9.5-py2.5.egg/kid/
parser.py", line 432, in feed
raise expat.ExpatError(e)
ExpatError: Error parsing XML:
<xml>Mike & Ike said
^
not well-formed (invalid token): line 1, column 7
Error in code generated from template file
I thought XML() was supposed to escape such characters to show up
properly? Can someone suggest a better way to do this?
TIA!
-tml
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---