RE: Using psgml to migrate HTML to XHTML

"David Cramer" <[email protected]>
Newsgroups gmane.emacs.psgml.user
Message-ID <97B71B827DFB2B448A73EC00E5DA0EE632404C@logos.inhouse.broadjump.com>
Have you seen tidy? http://www.w3.org/People/Raggett/tidy/ 
 
David

-----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.

Brian
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.