RE: Using psgml to migrate HTML to XHTML

Mike Noyes <[email protected]>
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
On Fri, 2002-08-23 at 07:24, David Cramer wrote:
> Have you seen tidy? http://www.w3.org/People/Raggett/tidy/

David,
I agree tidy is the proper tool for Brian's task. However, the link you
provided is out of date. The tidy project now resides here:

    http://tidy.sourceforge.net
    https://sourceforge.net/projects/tidy


> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Friday, August 23, 2002 8:52 AM
> To: [email protected]
> Subject: [Psgml-user] Using psgml to migrate HTML to XHTML
> 
> 
> I'm interested in using psgml to clean up HTML and migrate it to XHTML.
> I thought the easiest way to accomplish this might be to replace the
> HTML declaration at the top of the file with one for XHTML and then
> "normalize" the document. One thing that this doesn't do is fold the
> element names to lower-case. Is there some way to accomplish this using
> existing PSGML function? If not, I suppose it would be relatively easy
> to do a regular expression search/replace to accomplish it.
> 
> Is anyone else using PSGML for this purpose? It seems like an ideal tool
> because it doesn't have the strict enforcement that many XML/SGML
> structured editors have, yet is powerful enough to understand and
> facilitate working with structured markup.

-- 
Mike Noyes <[email protected]>
http://sourceforge.net/users/mhnoyes/
http://leaf-project.org/



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.