Add to the framework the possibility for defining new tags ----------------------------------------------------------- Like this: <TagDefinition name="Tag1"> <Attrib name="attr1" /> <Attrib name="attr2" default="val1"/> <!--# the template of the tag #--> attr1='{{attr1}}'<br /> attr2='{{attr2}}'<br /> Tag Body: <xmp> {{ElementContent}}

The variable tplVar='{{tplVar}}' is declared in the PHP code of the tag definition.

Tag declarations: The PHP code of the tag definition (file 'Tag1.php'): Example:
{{title}}
{{ElementContent}}
{{status_name}}

This is the content of the element (tag) .

It will be displayed inside a blue box, with a blue border and a blue title bar, while the background of the body will be white (the default value).

The title in the titlebar will be "Test Box".

The will be like a template that will be used to transform a simple tag (the tag that it defines) into a more complex HTML code. This will hopefully make easier the work of graphical designer and web developer. It will also be a step towards using XML content in the application (the transformation to HTML will be done by the framework using the tag definitions for each tag of the XML (for each tag mentioned in the DTD of the document). So, while the etc. are usually used to display DB content (to convert a query result into HTML), the can be used to display XML content (to transform an XML content to HTML).