XML Data To C++ Objects
-
Hello Friends I created an application that parsed XML File By using MSXML, DOM Pointers and then saved each of XML Data into C++ objects. Now,mine XML file size is increasing and this way of parsing is costly in terms of performance,speed and memory. I come to know about some of XML Data Binding Schemas on Internet suxh as CodaLogic LMX,XBinder that converts XML data into C++ objects directly without any headache of Binding between Data. So,My Question is that I want to know which is the best XML Data Binidng Method[not from that I mention but if some different] in terms of performance and should be Robust. Thanks In Advance. Regards Yogesh
-
Hello Friends I created an application that parsed XML File By using MSXML, DOM Pointers and then saved each of XML Data into C++ objects. Now,mine XML file size is increasing and this way of parsing is costly in terms of performance,speed and memory. I come to know about some of XML Data Binding Schemas on Internet suxh as CodaLogic LMX,XBinder that converts XML data into C++ objects directly without any headache of Binding between Data. So,My Question is that I want to know which is the best XML Data Binidng Method[not from that I mention but if some different] in terms of performance and should be Robust. Thanks In Advance. Regards Yogesh
These XML to CPP frameworks are also called ORM (Object Relational Mapping): QxOrm - C++ ORM (Object Relational Mapping) Library[^] XSD: XML Data Binding for C++[^] boost::serialization[^] I have little experience with "automatic" xml mappers, but when choosing a framework then ensure they can SAX parse (much faster) and also support versioning of XML documents (Support for mapping from old XML documents with deprecated and missing tags).