xml&xsl

How can i apply an extended style sheet file to an xml file.
kuriti_mohanAsked:
Who is Participating?
 
jlee348466Connect With a Mentor Commented:
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
 
kuriti_mohanAuthor Commented:
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
 
jlee348466Commented:
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
 
kuriti_mohanAuthor Commented:
thank u.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.