I have gotten to the part in the 20 minute wiki that shows how to make
an edit page.  My edit.kid file is the following:

<!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";
xmlns:py="http://purl.org/kid/ns#";>

<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"
/>
    <title>Welcome to TurboGears</title>
</head>

<body>
<div style="float:right; width: 10em">
        Editing <span py:replace="pagename">Page Name Goes Here</span>
        <br/>
        You can return to the <a href="/">FrontPage</a>.
</div>

<form action="save" method='post">
        <input type="hidden" name="pagename"
py:attrs="value=pagename"/>
        <textarea name="data" py:content="data" rows="10" cols="60"/>
        <input type="submit" name="submit" value="Save"/>
</form>
</body>
</html>

I get the following error when I try to load this page:

ExpatError: not well-formed (invalid token): line 17, column 1

Any Ideas on what might be causing this issue?

Thanks:)
SA

Reply via email to