Set Up My VBScript Project

 

To call XML DOM APIs from a VBScript application, first you need to make sure that MSXML is installed on your machine. See Get Ready to Work with MSXML for instructions on how to install MSXML.

Next, you need a text editor, such as Notepad, to create VBScript files.

You can run the VBScript in a Web browser, such as Microsoft Internet Explorer. Alternatively, you can use Windows Scripting Host, which is preinstalled in Widows 2000 and Windows XP. In this tutorial, we use Windows Scripting Host.

To create a VBScript project

  1. Create a folder to hold the project.

  2. Launch Microsoft Notepad or your favorite text editor.

  3. Type in your VBScript code. In this tutorial you will copy and paste the code.

  4. Save the code to a file in the chosen folder.

Now, we'll look at how to validate XML to a DTD.