Solved

xml&xsl

Posted on 2000-05-05
4
211 Views
Last Modified: 2013-11-20
How can i apply an extended style sheet file to an xml file.
0
Comment
Question by:kuriti_mohan
[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
  • 2
4 Comments
 

Accepted Solution

by:
jlee348466 earned 30 total points
ID: 2785167
in your xml file add the line

<?xml:stylesheet type="text/xsl" href="FILE_LOCATION" ?>

where FILE_LOCATION is whre the xsl files is located.

IE <?xml:stylesheet type="text/xsl" href="//localhost/home.xsl" ?>
0
 

Author Comment

by:kuriti_mohan
ID: 2786750
thank u for ur answer. I have to apply the xsl to the xml and view the result programmatically from vc++. Can u help me in this.
0
 

Expert Comment

by:jlee348466
ID: 2789376
are you creating an interpretor in VC++ that combines the xml and xsl and returns the resulting styled xml? or a much simplier answer of placing a browser control on a form and displaying the results in a control on a form.
if the first one. then you need to iterate through each styling tag and filter out conditions in the xml or add the style in depending on the condition.
0
 

Author Comment

by:kuriti_mohan
ID: 2790468
thank u.
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

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: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.

738 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