<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
My design and knowledge is still
evolving:<BR></FONT><FONT face=Arial size=2>I need to produce a file which
goes like this<BR><record><BR>
<Company> [Indexed]<BR>
<ContactDetails><BR>
<Email/><BR>
<PostalAddress><BR>
<Street/><BR>
<State/><BR>
<Postcode/><BR>
<PostalAddress/><BR>
<ContactDetails/><BR>
<Company/><BR><record/><BR></FONT><FONT face=Arial
size=2></FONT></DIV>
<DIV><FONT face=Arial size=2>The DOM tree in this approach allows me to take say
contact details as a fragment and make it available in another place in my
application, I would assume XQL would likewise allow me to collect a large
number of these fragments from conforming records and create another DOM tree.
Example all line items in all the invoices for this month.Which can then be
sorted according to their GL sales codes and summed for each GL sales code to
produce reports eg. sales by product group last month.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>My requirement falls outside the standards in that
I do not need to have my internal organisation conform to the standards. I wish
to generate XML conforming data which can then have a style sheet applied to
them to produce HTML or XHTML documents.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>ie. The output of my application is XML while I
have a database of XML "records" indexed in a Btree file for quick lookup and
listing on the screen in a specialised lookup dialog.</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>Is there any simple C++ parsers SAX and /
or DOM like available. Most of the Code I have looked at aims to conform to the
DOM specs while I only need to have code which builds a DOM tree which can be
walked.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How do other people tackle this sort of
problem?</FONT></DIV>
<DIV><FONT face=Arial size=2><BR><BR><BR> </DIV></FONT></BODY></HTML>