Hi Alex, appleGuy <[EMAIL PROTECTED]> writes:
> This Code Synthesis XSD Looks like just what i Need but I just Need > clarification. > > Ive got a project Class, it has variables that I need the XML Data to fill. > There are also containers (lists) that need to be filled. All in the same > class. > > Would I use C++/Tree or C++/Parser? I need something really easy to use as > time is short.. The C++/Tree mapping is really easy to use and it supports both reading and writing of XML. The only potential drawback, in your case, is that it also provides you with the in-memory representation so you may have to copy the data to your own data structures. Even then, I think, it is many times easier to use than SAX or DOM. Here is a five minute goide to the C++/Tree mapping: http://codesynthesis.com/projects/xsd/documentation/cxx/tree/quick-guide/ The C++/Parser mapping is somewhat similar in the idea to SAX. It provides you with events that you can use to build up your own in- memory representation. It is also somewhat more difficult to use compared to C++/Tree so if the time is short I suggest you go with the latter. Here is a five minute goide to the C++/Parser mapping: http://codesynthesis.com/projects/xsd/documentation/cxx/parser/quick-guide/ If you have any further questions about CodeSynthesis XSD or need help, feel free to post to [EMAIL PROTECTED] mailing list (no registration required). hth, -boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding
