![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - What is the best way to create C++ objects from parsed XML data? [Thread Next] Re: What is the best way to create C++ objects from parsed XML data?To: NULL Date: 8/8/2004 4:29:00 AM "Jim Williams" <not.me@n...> wrote in message news:qom0h0lfa5t064ufqnb8t206lhmmk49187@4...... > The problem I'm having is deciding how to get the data from the XML > parser into the C++ objects. > How is this normally done? > Do you pass the completed/parsed XML node to the C++ object creator? No. For one thing, I prefer to keep XML/DOM classes out of the declarations (member and argument types) of my own C++ classes. > Do you create the object object and set it's members with data from > the completed/parsed XML node? Yes that's the most common approach I've seen. /kmc | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
