Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

xml&xsl

Posted on 2000-05-05
4
Medium Priority
?
230 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 90 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

927 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