XML Script logo
Using Microsoft IIS Web server
Using a web server

X-Tract can be run by a web server to provide on-line script operation. We recommend that you set up your web server so that all .xst files are handled automatically by X-Tract. The following instructions assume you have Administrator privileges on the system in question.

Microsoft IIS

To install X-Tract under the Microsoft Internet Information Server, you will need to edit the registry using regedit.exe or Regedt32.exe (it doesn't matter which). Editing the registry is safe as long as you only change it as described here.

Editing the registry

Using regedit.exe or Regedt32.exe, open the folder HKEY_LOCAL_MACHINE\ SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\ScriptMap. From the Edit menu, choose Add Value. The Data type is REG_SZ. Type the filename extension used for your XML Script templates - we recommend .xst In the String editor, type the full path to the interpreter used with that script, followed by "%s %s", for example: C:\X-Tract\apps\xtract.exe %s %s After the registry change has been made, you will need to restart the IIS WWW service.

Associating the XMLscript icon with .xst

IIS inherits the associations made by Windows Explorer; as such, see MS-Windows installation for details.

Re-starting IIS

You will need to restart the IIS WWW service. Open the Microsoft Internet Services Manager (this will probably be on the Start Menu under "Programs|Microsoft Peer Web Services (Common)") and select the relevant WWW service. Then, from the pull-down "Properties" menu, select first "Stop" and then "Start".

Testing

Copy the webstart.xst file to IIS scripts directory (usually C:\InetPub\scripts) and point your browser at it (the location should be something like hostname/scripts/webstart.xst). The browser should display the same output as X-Tract would have done running the same file from the command line.

Further help

Further information is available in the IIS documentation, under the heading "Associating Interpreters with Applications (Script Mapping)".

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited