468,512 Members | 1,454 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

Need a XML parser in C/C++

Hi,

I'm looking for a XML parser which is able to convert a C++ structure directly into a XML document in HP-UX environment, are they any around?

Xerces-C++ or CodeSynthesis XSD able to do it?

Thanks
Nov 27 '07 #1
7 5257
Meetee
931 Expert Mod 512MB
Hi,

I'm looking for a XML parser which is able to convert a C++ structure directly into a XML document in HP-UX environment, are they any around?

Xerces-C++ or CodeSynthesis XSD able to do it?

Thanks
I don't about those you have mentioned but I know about TinyXML which do this job very well. Here are some links for that.

http://www.grinninglizard.com/tinyxml/
http://sourceforge.net/projects/tinyxml/

Regards
Nov 27 '07 #2
Hi,

I'm looking for a XML parser which is able to convert a C++ structure directly into a XML document in HP-UX environment, are they any around?

Xerces-C++ or CodeSynthesis XSD able to do it?

Thanks
Hi

try this code for
use this link

http://gdome2.cs.unibo.it/examples.html

or

xmlsoft.org/tutorial/xmltutorial.pdf

Full code removed per Posting Guidelines
Nov 27 '07 #3
xoinki
110 100+
hi,
TinyXmlParser for me..
Its fast and very less leaky..

Regards,
Xoinki
Nov 27 '07 #4
TinyXML looks cool.

So it has to be use with TinyBind to convert struct to XML?

What about the licence? Able to be used in commercial projects?

Thanks
Nov 28 '07 #5
Meetee
931 Expert Mod 512MB
TinyXML looks cool.

So it has to be use with TinyBind to convert struct to XML?

What about the licence? Able to be used in commercial projects?

Thanks
There is no licence to use tinyxml. You will be able to use the library for free.

There are examples given in above mentioned sites for how to use it's functions. suppose the structure contains name, address and age, then you can convert them into xml structure and vice versa. I have not much idea about TinyBind.

Regards
Nov 28 '07 #6
oler1s
671 Expert 512MB
There is no licence to use tinyxml. You will be able to use the library for free.
Really? You're saying it's public domain. You determined this how?

It's actually release under the zlib license. You can determine this by a) reading the sourceforge page b) reading the docs c) downloading the source and reading the LICENSE file and d) outright googling "tinyxml license". I sincerely hope you haven't used TinyXML in your projects, in ways that do not conform to the license.
Nov 28 '07 #7
hello,
I am also struggling with the same problem converting c structs to XML files . Could you please breif out what you did. Help to save my time instead gooling for 2-3 three days.
Thanks in advance.
Jan 4 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by marktm | last post: by
2 posts views Thread by marktm | last post: by
3 posts views Thread by Himanshu Garg | last post: by
1 post views Thread by Srinivasa Parupalli | last post: by
2 posts views Thread by Anders B | last post: by
2 posts views Thread by vijaykk | last post: by
1 post views Thread by hellt | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.