R
Ramon F Herrera
(newbie alert)
I am developing a C++ application, and decided that the best format to
save files is in this newfangled XML thing.
I already had a similar problem in Java and found a healthy number of
implementations. I also found several which are written in C++, like
this one, which seems very attractive:
http://xerces.apache.org/xerces-c/
The question I have is about writing XML files. I am under the
impression that most of the hard work is the reading and the parsing.
I can't find a simple example in which there is writing. Is writing so
easy (compared with parsing, that is) that people just roll their own
and don't use XML libraries?
What I am really looking for is a library/sample code (Xerces is my
top choice right now) that writes a simple, tutorial type XML file. I
just want to make sure that the library is a fit for my problem.
TIA!
-RFH
I am developing a C++ application, and decided that the best format to
save files is in this newfangled XML thing.
I already had a similar problem in Java and found a healthy number of
implementations. I also found several which are written in C++, like
this one, which seems very attractive:
http://xerces.apache.org/xerces-c/
The question I have is about writing XML files. I am under the
impression that most of the hard work is the reading and the parsing.
I can't find a simple example in which there is writing. Is writing so
easy (compared with parsing, that is) that people just roll their own
and don't use XML libraries?
What I am really looking for is a library/sample code (Xerces is my
top choice right now) that writes a simple, tutorial type XML file. I
just want to make sure that the library is a fit for my problem.
TIA!
-RFH