On 09/01/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> My Header Kid File :
> ----------------------------------------------------------------------------------
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <?python import sitetemplate ?>
> <html xmlns="http://www.w3.org/1999/xhtml";
> xmlns:py="http://purl.org/kid/ns#"; py:extends="sitetemplate">
>
> <head>

This element should have a py:match attribute in order to work

i.e

<head py:match="item.tag==head">

>     <meta content="text/html; charset=UTF-8" http-equiv="content-type"
> py:replace="''"/>
>     <title py:remplace="''">Your title goes here</title>

Should be py:replace?

>     <link rel="stylesheet" media="screen" type="text/css"
> href="/static/css/main.css" />
>     <meta py:remplace="item[:]"/>

same again. The 'item[:]' section makes no sense with the py:match
statment above.

--
wavy davy

"True religion confronts earth with heaven
and brings eternity to bear on time"
 - A. W. Tozer

Reply via email to