Solved

xml&xsl

Posted on 2000-05-05
4
180 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
  • 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 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

19 Experts available now in Live!

Get 1:1 Help Now