OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX parser for SGML?

[ 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






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS