[
Lists Home |
Date Index |
Thread Index
]
[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
|