[lug] Looking for C++ help

Scott A. Herod herod at interact-tv.com
Wed Feb 21 14:38:03 MST 2001


Ken Weinert wrote:
> 
> OK, I'm trying to find an elegant way to do this.
> 
> I'm using OpenSP to parse an incoming SGML file - I need to write out
> flat files (maintaining relationships) for later loading into a
> database.
> 
> I've a document class with member functions for each of the relevant
> tags. My question is this: is there an easy/elegant way of taking the
> the startElementEvent of onsgmls and dispatching the collected data into
> my document class?
> 
> Is this too vague of a question? (in my opinion, yes - but I'm not sure
> how long winded to get if this isn't a subject any one is interested in
> :)


Hi Ken,

  I don't know SGML or OpenSP but have written a serializer for 
an XML DOM structure and done a good amount of the work for 
the same for a SAX parser.  If these sound similar to what you
need, I'd be happy to discuss them off-line.

Scott



More information about the LUG mailing list