one option is to use http://www.crummy.com/software/BeautifulSoup/
On 7/22/06, Olli Wang <[EMAIL PROTECTED]> wrote:
>
> hi, I have some questions about kid's XML(). that is if i have a
> textarea form can be input and saved to database by end user like
> guestbook's message. i want it support HTML, but how could i correct
> the HTML tags if the end user doesn't follow the rules of XHTML?
>
> for example, if someone type just "<p>This is a test" without "</p>"
> then kid must generate parsing error. are there any good tools for
> solving this problem? thanks.
>
>
> >
>
--
cheers
elvelind grandin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---