Click here to Skip to main content
15,743,541 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to read specific xml node or element using c++
Updated 16-Jun-11 2:05am

The details depend upon the XML library you are using.
If you choose MSXML then you may find sample source code here: Query Nodes from DOM (Smart)[^].
Share this answer
Sergey Alexandrovich Kryukov 16-Jun-11 5:20am    
Sure, a 5.
There's also TinyXML[^], an easy and lightweight C++ library to parse XML.
Share this answer
An alternative: XMlLite
Share this answer
What you ask for is called parsing (sometimes reading) XML file. If you want to study first, then consult with Wikipedia and MSDN (DOM or SAX). If you need an implementation (code to use in your application) always search (for something like "parsing XML in C/C++" in this case).
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900