?
Solved

how display xml file using Visual C++

Posted on 2004-08-16
5
Medium Priority
?
220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
mrwad99 earned 100 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month15 days, 3 hours left to enroll

770 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