Previous Chapter | Next Chapter | Up | Next Section | Contents

Server Side Include Format Syntax


Any number of line endings, tabs or spaces may be placed between the pound character (#), the tag name, attributes or the end of a tag. This format is still valid for the older versions of Zope and DTML. The server side includes format is <!--#command tag1="value1" tag2="value2"-->. The older versions of Zope used this format for the dtml code. You will still see examples using this syntax. For example, the following are all valid tags which are based on the server side includes format:

<!--#var x--> <!--#var standard_html_footer-->
<!--#var some_really_long_name--.
<!--#var and_another_rather_long_one-->

<!--#if input_name--> <!--#/if-->

Previous Chapter | Next Chapter | Up | Next Section | Contents