Solved

how display xml file using Visual C++

Posted on 2004-08-16
5
195 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now