Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

XML C++ Parser

Posted on 2004-04-07
6
Medium Priority
?
421 Views
Last Modified: 2013-11-18
I'm sure there is some free XML C++ ANSI standard compliant XML parser out there but I'd like to write my own.

Can someone give me a link or something that provides the exact syntax that an XML document may have.

In particular I'm interested in how to define data with quotes.  And data that may contain brackets < and >.  How are they actually defined.  I know every begin tag must match an end tag, but what if that data in the middle contains a bracket or quote...how exactly is that specified in the XML syntax.  

All possible variations of syntax are prefered.

Basically I'd like to store things in a std::list<std::string> recursively.  

If you need more info to answer the question please ask.
0
Comment
Question by:PerryDK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 10781234
0
 
LVL 4

Author Comment

by:PerryDK
ID: 10781253
can you provide examples of how brackets ( < or >) and quotes ( " or ') may be included for actually data instead of refering to the tag?
0
 
LVL 4

Author Comment

by:PerryDK
ID: 10781261
Also do you know of any open source C++ xml parsers that I may look at for references?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 45

Expert Comment

by:sunnycoder
ID: 10781292
libxml
http://www.xmlsoft.org/

has plenty of links and you will find everything  you need at the above link
0
 
LVL 4

Author Comment

by:PerryDK
ID: 10781450
I went to http://www.xmlsoft.org/

Can you tell which file to download.  I'm using windows xp with Borland C++ Builder 5.0 compiler.
0
 
LVL 45

Accepted Solution

by:
sunnycoder earned 2000 total points
ID: 10781491
ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/

has the sources .... But I am not sure if a windows port exists ... these are linux libraries ... still take a look .... Difference should not be too much

here is the windows version
http://sourceforge.net/projects/wix/

The above is officially from MS
http://blogs.msdn.com/robmen/archive/2004/04/05/107709.aspx
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Introduction to Processes
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

618 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