Solved

how display xml file using Visual C++

Posted on 2004-08-16
5
210 Views
Last Modified: 2013-11-20
Hi,
Does anybody have idea abt how display xml file using MFC.
I want this view as an html based means it should look like as being diaplyed defaulty in internet explorer.Better if it is based on some stylesheet so that i can play around with other available spreadsheet.

Any help/clues will be highly appriciated.

Thanks in advance,
Amit Agrawal
0
Comment
Question by:agri_amit
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
mrwad99 earned 50 total points
ID: 11809157
What you could do is create a doc/view app that is derived from CHtmlView, then simply set the view to display the file.  See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/vcrefchtmlview.asp

Or you could use the ActiveX browser control if you have a dialogue based application...
0
 

Author Comment

by:agri_amit
ID: 12196460
Hi ,

mrwad99 : Thanks for the response.It works.
At this point , i also ned to apply external style sheet to this Xml File.Does anybody have idea?

Thanks,
Amit
0
 
LVL 19

Expert Comment

by:mrwad99
ID: 12202137
Sorry I cannot see how to do that.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question