Click here to Skip to main content
15,891,657 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++
Posted
Updated 16-Jun-11 2:05am
v2

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
 
Comments
Sergey Alexandrovich Kryukov 16-Jun-11 5:20am    
Sure, a 5.
--SA
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 Codeproject.com (for something like "parsing XML in C/C++" in this case).
 
Share this answer
 
v3

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