Using VBScript to Transform the Contents of XML Data islands

When you have an XML document and XSL stylesheet in external files, you can place a reference to them in separate data islands and use simple VBScript code to perform the tranformation to HTML. The following exercise demonstrates this technique using the Courses.xml and Courses.xsl files that you created earlier in this chapter.

The following exercise demonstrates how to use VBScript to transform

XML data islands into HTML.

1. Open Notepad, and enter the code presented below.

0 0

Post a comment