Hello everybody,
I have an XML file, let's call it file A, and another XML file, B.
I need to make an import tool which will permit me to take the content of the file A, and put it in the file B. The two syntaxes are totally different. The file A is used in a web app, that will integrate an other tool which describe the same thing with the syntax of the B file. Converting the old file to the new format need to be done so it can still be read after integrating the new tool.
For exemple I would say that file A is like:
<house>
<windows>3</windows>
<doors>2</doors>
</house>
And the file B is like:
<house windows="3" doors="2"/>
How could I handle this? There is even some attributes or tags that are in the first file and not in the other.
I thought about using something like ATL, that I used during my studies for a research program, I don't know if it is the best way to do this.
Please excuse my english, which is not very good, I am working on it.
Thank you