T
Thomas Lecomte
Hello,
I'm working on a project and I need to parse an XML file containing the
description of a lot of images.
Here's an example of the XML data:
<db_name>
<picture>
<pic_id>2033</pid_id>
<pic_name>foo</pic_name>
...
</picture>
</db_name>
What I'd like to do is to store each images as a C++ object, for example:
class Image
{
int pic_id;
std::string pic_name;
...
};
Is there any efficient library to do this? Or must I do it all myself
using libxml?
By the way I hope i'm posting in the right newsgroup...
Thanks,
Thomas
I'm working on a project and I need to parse an XML file containing the
description of a lot of images.
Here's an example of the XML data:
<db_name>
<picture>
<pic_id>2033</pid_id>
<pic_name>foo</pic_name>
...
</picture>
</db_name>
What I'd like to do is to store each images as a C++ object, for example:
class Image
{
int pic_id;
std::string pic_name;
...
};
Is there any efficient library to do this? Or must I do it all myself
using libxml?
By the way I hope i'm posting in the right newsgroup...
Thanks,
Thomas