ASPCompiler Embedded CTS - objects
ASP Compiler 1.1 documentation is under development. See also the examples.

Object model for the embedded Compile Time Scripts (the <SCRIPT RUNAT=COMPILER> tag)

The embedded scripts have access to the following objects/collections at run time.

Objects and collections:

Node - Reference to the document node occupied by the script itself. I.e. the node corresponding to the <SCRIPT RUNAT=COMPILER> tag in the page.

Variables - Reference to the collection of the compiler variables defined for the currently processed file. This can be done from the File options dialog box

GlobalVariables - Reference to the collection of the compiler variables defined for the entire project. This can be done in the Project settings dialog box.

Info - Collection of the most frequently used details for the current file

ProcessedFile - Reference to the compiler settings for the current file in the project. (rarely used)

Compiler - Allows the script to issue messages, warnings and errors.

Tree - The entire document tree of the currently processed file - the Page Object Model.

Script - Collection of references to all the embedded scripts in the document. In other words this is a collection of all the <SCRIPT RUNAT=COMPILER> nodes.

Custom - Collection of references to all the 1-st level CUSTOM nodes (tags) in the document tree. They are also available through the Tree collection. Thus Custom collection is supplied for convenience only.

Project - All the project settings. Actually this is a collection of collections and values (can be called also Project tree). Some of the other collections available for the script are in fact references to certain parts of the project - the parts most often used by the scripts.

newObjectsSite4All.nl Copyright 2001-2006 newObjects [ ]