Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

xml&xsl

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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 tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

722 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