deloptes wrote: > Boris Kolpackov wrote: > >> >> Yes, XML data binding allows you to automate this provided you have >> a schema describing your XML vocabulary. >> >> You can, for example, try CodeSynthesis XSD[1] which uses Xerces-C++ >> underneath. Or, for a lighter-weight, dependency-free variant, you can >> try CodeSynthesis XSD/e[2]. >> >> Both of these tools can either generate the struct's (actually, classes) >> for you or you can use them to extract the data into your own structures. >> >> [1] http://www.codesynthesis.com/products/xsd/ >> [2] http://www.codesynthesis.com/products/xsde/ >> >> Boris >>
The only problem seem to be that the library is based on the xerces 2.8 version regards library-driver.o: In function `xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)': library-driver.cxx (.text._ZN11xercesc_2_814DefaultHandler10fatalErrorERKNS_17SAXParseExceptionE[xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)]+0x35): undefined reference to `xercesc_2_8::SAXParseException::SAXParseException(xercesc_2_8::SAXParseException const&)' library-driver.cxx (.text._ZN11xercesc_2_814DefaultHandler10fatalErrorERKNS_17SAXParseExceptionE[xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)]+0x3a): undefined reference to `xercesc_2_8::SAXParseException::~SAXParseException()' library-driver.cxx (.text._ZN11xercesc_2_814DefaultHandler10fatalErrorERKNS_17SAXParseExceptionE[xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)]+0x3f): undefined reference to `typeinfo for xercesc_2_8::SAXParseException'
