A file with .stml extension is a webpage with server side instructions that are executed when a user loads the page in web browser. STML pages contains server side code that contains server side includes to perform tasks that are not possible to achieve with plain HTML. Though similar to HTML, STML offers more power by running the commands on server, also called Server Side Includes (SSI). With the introduction of new programming languages with server side scripting such as PHP, the use of STML is reduced though it is still supported by all server side technologies. STML files can be opened in any text editor and edited for updating the commands.
STML File Format
STML is based on plain ascii text file format that is human readable. However,it follows the syntax as defined and exercised using the SSI commands that are executed on server side. Like any other server side scripting language, STML can use the server side commands to perform tasks such as page visitor counter, web page calendar, retrieve records from database, and similar others.
Server side instructions are used in applications such as for page visitor counter or web page calendar. The following example, displays the first four columns of the first three lines of the users database.