This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Converting SGML to XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Converting SGML to XML" Watch "Converting SGML to XML" New topic

Converting SGML to XML

hu nguyen

Joined: Jun 28, 2001
Posts: 2
Hi All,
Even though this is my first post at the javaranch, I have been checking it out the last month or so and very impressed with this site. I help I will be able to contribute to the site eventually. Anyway here's my question:

I just start to learn XML recently for my new project. I need to define XML structure for a large document. I also have a SGML structure for the same document. Should I convert the SGML to XML or just start from scratch? Is there any tools to help convert SGML to XML? Thanks in advance.
Mapraputa Is
Leverager of our synergies

Joined: Aug 26, 2000
Posts: 10065
There is an old, but good article "Converting an SGML DTD to XML" by Norman Walsh
Also "SGML Instance Conversion" may be useful. They mention James Clark's SX and SGMLNORM tool for SGML -> XML conversion.

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
I agree. Here's the link:
subject: Converting SGML to XML
jQuery in Action, 3rd edition