C++ class for reading and writing XML structures. No need for a C++ code parser or special pre compiler. Specify a schema entirly in native C++. The schema is verified when XML is read and exceptions are thrown when the XML to be parse is invalid.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marc Wäckerlin
ad7d4cddeb
|
10 years ago | |
---|---|---|
debian | 10 years ago | |
doc | 10 years ago | |
src | 10 years ago | |
test | 13 years ago | |
AUTHORS | 10 years ago | |
COPYING | 16 years ago | |
ChangeLog | 10 years ago | |
INSTALL | 10 years ago | |
NEWS | 16 years ago | |
README | 10 years ago | |
ax_cxx_compile_stdcxx_11.m4 | 10 years ago | |
bootstrap.sh | 16 years ago | |
configure.ac | 10 years ago | |
install-32-bit-lin-win.sh | 15 years ago | |
install-64-and-32-bit-linux.sh | 16 years ago | |
libxml-cxx.spec.in | 10 years ago | |
makefile.am | 10 years ago |
README
This is a C++ class for reading and writing XML structures
All informaton can be found in the generated doxygen project documentation.
Rationale: The initial idea was to map C++ data structures to XML
files for configuration files that can easily be edited by hand.
This library does not need any kind of C++ code parser or special pre
compiler. You can specify a schema entirly in native C++. The schema
is verified when XML is read and exceptions are thrown when the XML to
be parse is invalid. Exceptions specify exactly the location and
reason of the problem, so that the editor of the XML file can easily
find and correct the problem.
C++ classes can inherit xml::Serialize and become serializable this
way. All you need to do is to overwrite one single method, where you
declare XML tag names for the class name and for all members.
(More rationale: See also "Related Pages" in the doxygen project documentation)
Structure of the files:
src: The source code of the library
doc/html: Doxygen documentation oft the library usage
doc/examples: Example code (included in doxygen documentation)
test: CppUnit test files - can also be taken as examples
Project URL: https://dev.marc.waeckerlin.org/redmine/projects/libxml-cxx