ADA/C++/IDL to XML?

Ken (11)

Usenet Archive
Joined
Sep 5, 2003
Messages
11
Reaction score
0
Hi.

We have an in-house tool that takes data structure input from various languanges and can then convert it to a message in TCP or some other variety of protocols. I'm thinking that if we could automatically get these data structures into a generic XML format, our tool will just have to worry about converting XML into a message--instead of having to write a message generator that is aware of many different languages. Based on this, I have two questions:

1- Does anyone know of any tools out there that could convert a data structure from C++, Ada or IDL to an XML file (a seperate tool for each language would be fine)?

2- Would anyone recommend a C++ library for parsing XML streams (our tool is written in C++)?

Thanks!

Ken
 

Ira Baxter

Usenet Archive
Joined
May 17, 2002
Messages
142
Reaction score
0
"Ken" wrote:

1- Does anyone know of any tools out there that could convert a data structure from C++, Ada or IDL to an XML file (a seperate tool for each language would be fine)?

The DMS Software Reengineering Toolkit can parse C++, Ada and IDL. If you resolve names and substitute definitions, you could produce "trees" that represent data structures. Once you have those, produce XML should be easy. DMS doesn't do this out of the box; you have to customize it to "finish" your task.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,798
Members
249,594
Latest member
henrywalsh

Latest Threads

Top