Transform XML into HTML using XSL Style Sheets
Category:
ASP, HTML and XMLType:
ApplicationsDifficulty:
IntermediateAuthor:
Intelligent Solutions Inc.Version Compatibility: ASP
More information:
This demonstrates how to apply XSL style sheets to XML in Active Server Pages. The application contains one XML document, and two XSL style sheets. In the ASP code, you select which of the two style sheets to use for a sample online resume. The selected style sheet is applied via a few simple calls to the Microsoft XML Object Library
The idea of using XSL and XML is to separate content (XML) from presentation (XSL), and as you will see, using XSL stylesheets allows you to present the exact same data in a very different way.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.
Download xmlxsldemo.zip