Chapter 2 The DynaScript Language


SCRIPT tag

DynaScripts are embedded in documents as HTML comments. An HTML comment is marked by a <!-- tag. For example:

<!-- anything in here is a comment -->

A DynaScript is marked by a special tag inside the comment:

<!--SCRIPT insert DynaScript here
-->

Web editing tools interpret this tag as a comment, and ignore the contents that fall between the start and end tags. This allows the Dynamo application server to process the script.

JavaScript tags vs. Dynamo tags

JavaScript SCRIPT tags are very similar to DynaScript SCRIPT tags. JavaScript uses SCRIPT tags with this syntax:

<SCRIPT LANGUAGE="JavaScript">

DynaScript uses SCRIPT tags with this syntax:

<!--SCRIPT 
-->

 


Copyright © 1999 Sybase, Inc. All rights reserved.