List:MySQL++« Previous MessageNext Message »
From:Vinay  Murthy Date:May 15 2004 4:56pm
Subject: populating the result object - 2
View as plain text  
  
Hi,
      I have an XML document which i retrieved from some database using
commands specific to that database. The Xml document contains "field"
elements of this type

 Ex: <field name="id" type="integer">10</field>
     <field name="currenttime" type="time">20:10:30</field>
     <field name="createdBy" type="string">bob</field>
      and so on....

Now I need to construct a mySQL++ Result object out of it..i.e, i need to
populate a Result object. But the mySQL++ examples I saw on the internet,
first construct a query (say for example for retrieving some values) and then execute 

 Result res = query.store();

But in my case, I have already executed the query using some command that
the database supports(not mySQL++) and I get a string containing the XML
document(described above)  as the result of that query. Now is there some
<way, that I can just populate a Result object with these values? By
explicity executing some commands like say(for example), res.insertElement
or something like that, can I populate the Result object?

Thanks
Vinay

Thread
populating the result object - 2Vinay  Murthy15 May
RE: populating the result object - 2Tom Riggs16 May
  • RE: populating the result object - 2Vinay Sambamurthy16 May
RE: populating the result object - 2Tom Riggs17 May
  • RE: populating the result object - 2Vinay Sambamurthy18 May
    • Re: populating the result object - 2Sinisa Milivojevic18 May