Solved

how display xml file using Visual C++

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
function returning CString in a regular win32 DLL 8 163
Perl Awk Need Help 3 109
only14 challenge 19 68
MaxSpan challenge 9 80
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

14 Experts available now in Live!

Get 1:1 Help Now