Next in thread → Next in month →

Re: SAX parser for SGML?

From
Sean McGrath <>
To
Date
2003-06-12T08:11:25Z
ID
<>
Thread
Re: SAX parser for SGML?
[Simon St.Laurent]
 >Does anyone know of a (preferably open-source) Java-based parser that
 >produces SAX events from an SGML input document?

Although not Java, I've used James Clark's SX utility 
(http://www.jclark.com/sp/sx.htm) in processing
pipelines to go SGML -> XML -> SAX/DOM/PYX.

Works well. I use it a lot when marking up stuff by hand as I can take best 
advantage of SGMLs tag minimization features but produce fully tagged XML 
from it automatically.

Sometimes an SGML parser is a better alternative to cutting code (even in 
Python:-) to do XML uptranslation!

regards,
Sean

http://seanmcgrath.blogspot.com
Next in thread → Next in month →