Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Creating XML files with C++ & Xerces

From: iwoloschin@-----.---
To: NULL
Date: 8/1/2006 11:50:00 AM

Hi,

I have a project that currently parses a database (MS Access) and
outputs both a binary file and a text file of the results.  The binary
file is then read by another application, and the values stored in the
file are then used while running the application.  The text file sits
around and is used by any programmers who wish to see what the binary
file contains (if they do not have access to the database for some
reason).

I'd like to turn this all into an XML solution, so the file can be
modified in the field by a human, by using Xerces to turn my C++ Struct
into an XML tree.  From my research, I believe I can do this by using
the DOM API, as per the example programs in DOMPrint and
CreateDOMDocument.  On the other end, the binary reading would be
changed to read everything into a DOM Structure, which would then be
converted back to the original C++ Structure.

Is this approach correct?  If it is, is there anymore documentation to
be found other than the Xerces website?  If it's not, can someone point
me in the right direction?

Thank you,
Ian



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent