El día 23 de noviembre de 2011 07:19, Carlos Martín Sánchez <[email protected]> escribió: > Hi, > > I don't see why you would want to write your own XML parser, you can use any > existing one... > We use libxml [1]. You can see some code in our repository [2, 3] >
Hi Carlos I want to use the same libraries as you guys when possible to make it easier to anyone wanting to use my project. Unfortunately I just got something working using TinyXml yesterday, so I'll have to stay with it for now. All the best Ismael > Regards > > [1] http://xmlsoft.org/ > [2] > http://dev.opennebula.org/projects/opennebula/repository/revisions/master/show/src/scheduler > [3] > http://dev.opennebula.org/projects/opennebula/repository/revisions/master/entry/src/xml/ObjectXML.cc > > -- > Carlos Martín, MSc > Project Engineer > OpenNebula - The Open Source Toolkit for Data Center Virtualization > www.OpenNebula.org | [email protected] | @OpenNebula > > > On Tue, Nov 22, 2011 at 7:56 PM, Ismael Farfán <[email protected]> wrote: >> >> So no one? >> >> I think there should be a recommended library or something for working >> with xml in c++, just as ONE recommends xmlrpc-c for the RPC calls, >> which one do you use? >> >> I only want to get the information out of the xml string I'm >> getting... I could write my own parser but I'm hoping there is a >> better (and standard) way. >> >> All the best >> Ismael >> >> 2011/11/21 Ismael Farfán <[email protected]>: >> > Hello list >> > >> > I'm programming a client for ONE using c++, the first function I'm >> > testing is one.hostpool.info. >> > >> > Using an example I found, I can retrieve the xml list of hosts, >> > however I don't know how to work with xml and this example is too >> > basic (and old) to be of more use. >> > http://www.opennebula.org/documentation:archives:rel1.2:api_examples >> > >> > I'd appreciate very much if someone could tell me how to retrieve the >> > information I need which right now is host id, name and status. >> > >> > Regards >> > Ismael >> > >> > >> > I'm using Debian/testing >> > >> > -- >> > Do not let me induce you to satisfy my curiosity, from an expectation, >> > that I shall gratify yours. What I may judge proper to conceal, does >> > not concern myself alone. >> > >> >> >> >> -- >> Do not let me induce you to satisfy my curiosity, from an expectation, >> that I shall gratify yours. What I may judge proper to conceal, does >> not concern myself alone. >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- Do not let me induce you to satisfy my curiosity, from an expectation, that I shall gratify yours. What I may judge proper to conceal, does not concern myself alone. _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
