Hey Lee,
I am Nishank and I am working on a small project which includes storing an XML file into a database So I was researching for C++ libraries to be used and I found TinyXML and I found it easy to understand and use.I have a small query though. The tricky part is the doc.LoadFile or SaveFile for that matter takes a file name as an argument but when i query the database I get a char* which has the XML data .so how do I load the file? any pointers would be really helpful
Thanks,
Nishank.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Lee,
I am Nishank and I am working on a small project which includes storing an XML file into a database So I was researching for C++ libraries to be used and I found TinyXML and I found it easy to understand and use.I have a small query though. The tricky part is the doc.LoadFile or SaveFile for that matter takes a file name as an argument but when i query the database I get a char* which has the XML data .so how do I load the file? any pointers would be really helpful
Thanks,
Nishank.
TiXmlDocument doc;
doc.Parse( str );
Where 'str' is your char*
lee