I use onsgmls' output as input for a Java XMLReader
(org.xml.sax.XMLReader). This enables me to parse and
process SGML as if it were XML.
For my application, I need to know if an element was
required or not - more or less comparable to the onsgmls
command line switch '-o empty' which flags elements
with a declared empty content model.
I am trying to find my way in the C++ code, but it is
overwhelming. Any help would be greatly appreciated.