directives:xilize signature

Several special keys are used control the generation of prolog and epilog portions of the generated XHTML file. See the Xilize reference documentation for a complete description.

The xilize. signature sets default values for these special keys and, like define, provides a place to define key/value pairs. You can override the defaults in the xilize. statement itself or in a subsequent define.

xilize. on a line by itself is enough to generate a default prolog and epilog. The example below shows a more complex usuage.

Note: Any modifiers placed on the xilize signature are applied to the <body> element of the generated HTML.

Xilize markup browser rendering
xilize{background:ivory}. doctype trans
css examples.css
keywords xilize, markup, html, xhtml

The xilize statement used creates a transitional doctype, adds a link element for the stylestyle, and a meta element for the keywords. The default charset is retained.

define. headElementAdd
<meta http-equiv="Expires" content="Tue, 20 Aug 2009 14:25:27 GMT" />
<meta name="Author" content="Andy Streich" />

The define statement uses the special key @headElementAdd@ to add arbitrary elements inside the @<head>@ element.

XHTML generated

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta name="keywords" content="xilize, markup, html, xhtml" />
  <link href="examples.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Expires" content="Tue, 20 Aug 2009 14:25:27 GMT" />
<meta name="Author" content="Andy Streich" />
</head>
<body style="background:ivory;">

<p>The xilize statement used creates a transitional doctype, adds a link element
 for the stylestyle, and a meta element for the keywords.  The default charset is
 retained.</p>

<p>The define statement uses the special key <code>headElementAdd</code>
 to add arbitrary elements inside the <code>&lt;head&gt;</code>
 element.</p>

</body>
</html>