Converting HTML to XHTML
Harvey Thomas
hst at empolis.co.uk
Wed May 22 06:43:57 EDT 2002
Sebastian Roth wrote:
> Hi all,
>
> there's a new problem for me. I want to convert an HTML-File to an
> XHTML-File. The first step for that would be that standalone tags get
> an / at the end.
>
> So my question is the following:
> Are there any modules for this formatting or must I write
> some regular
> expressions for that?
>
> Thank you in advance,
>
> Sebastian
>
Have a look at HTML Tidy at
http://www.w3.org/People/Raggett/tidy/
This can probably do the complete job for you.
HTH
Harvey
_____________________________________________________________________
This message has been checked for all known viruses by the MessageLabs Virus Scanning Service.
More information about the Python-list
mailing list