locked
Help_Regarding_XML_MFC RRS feed

  • Question

  • Hi all,

    After doing couple of applications based on text and image now i have decided to create an application which reads xml file and displays the result onto the view in the form of tree. I want to do the application in doc/view architecture . Could any one provide me with a link for the same.

    Any help would be deeply appreciated,

    Thanks & Regards,

    Tuesday, March 1, 2011 9:32 AM

Answers

  • Doc/View application also is in C++ right? The article shows you how to load an XML file in C++ using MSXML.  You should be able to use the same code in your project.

    Maybe this article will also help you:

    http://www.codeguru.com/cpp/misc/misc/article.php/c3707/

     

    -Seetharam

    • Marked as answer by Yi Feng Li Thursday, March 10, 2011 3:31 AM
    Tuesday, March 1, 2011 6:21 PM
  • Depends on what you wozuld like to do with your XML file I'd recommend the followerd liks/articles:

    MSXML using DOM and SAX: http://www.codeproject.com/KB/cpp/msxmlcpp.aspx

    XML Lite examples: http://msdn.microsoft.com/en-us/library/ms752864(v=vs.85).aspx

    Both works together with or without MFC and is not dependend to Doc/View.

    • Marked as answer by Yi Feng Li Thursday, March 10, 2011 3:31 AM
    Wednesday, March 2, 2011 5:35 AM

All replies