Solved

C++ XML parser

Posted on 2014-11-14
6
143 Views
Last Modified: 2014-11-14
Hi,
I want the simplest XML parser / modifier I can get my hands on that's OK for commercial use.  Which one do you recommend and why?  :)

Thanks,
Mike
0
Comment
Question by:thready
  • 3
  • 3
6 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
Comment Utility
A simple and robust one? TinyXML and it's successor TinyXML2: http://www.grinninglizard.com/tinyxml/
0
 
LVL 86

Expert Comment

by:jkr
Comment Utility
Oh, regarding the 'why': it's lighweight, simple and easy to use. Most others lack at least one of these feats.
0
 
LVL 1

Author Comment

by:thready
Comment Utility
I guess TinyXML2 would be better than TinyXML?

and how did I know you'd be answering my question?  :)
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 1

Author Closing Comment

by:thready
Comment Utility
Thanks!
0
 
LVL 86

Expert Comment

by:jkr
Comment Utility
In that caswe, it was simple: I've already used TinyXML in a project before, and you learn to appreciate a lighweight parser/generator when processing video data in real time ;o)
0
 
LVL 1

Author Comment

by:thready
Comment Utility
It looks intuitive and clean and common sense.  I was considering it already, and now that you vouch for it...
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now