I Need a tutorial on using XML in C++

Posted on 2003-10-26
Medium Priority
Last Modified: 2010-04-02
I am looking for a good, quick tutorial website on creating, editing, and storing XML documents in C++.  I know C++ decently well, and I need to converrt some C# code I have that edits a large XML file to do it in C++.  Or sample code to do the following:

1.  Creating a new xml document
2a.  Create parent node
2b.  Select a node.
3.  add a child node.
4.  get/set/add attributes to a node
5.  save xml document.
Question by:jjacksn
  • 2

Expert Comment

ID: 9625306
LVL 48

Assisted Solution

AlexFM earned 400 total points
ID: 9625326

Accepted Solution

burcarpat earned 600 total points
ID: 9625327
and, for ms specific use of xml,


also, search for xml in msdn.microsoft.com and you'll find many resources.  apache's xml stuff are cross-platform

-- ba

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question