Yes! I already tryed that! But than I got a Django error saying -- Object has 
no attribute 'startswith' -- I'm using KID with django and I want to output a 
simple form: here's my code:

   form = AddPersonForm ()
        t = kid.Template 
("/home/jack/Projecten/django/webdemo/templates/addperson.kid", form=form)
        return HttpResponse (t.serialize());

In my KID template I have:

<form method="post" action="" py:content="XML(form)">This content will be 
replaced by the form</form>

Greetings

Thijs Thiessens


On Wed, 12 Sep 2007 16:54:53 +0200
Christoph Zwerschke <[EMAIL PROTECTED]> wrote:

> Thijs Thiessens schrieb:
> > I try output a series of input elements but I got this result:
> > 
> > &lt;input id="id_firstname" type="text" name="firstname" maxlength="200" />
> > 
> > How can I prevent KID from replacing my tags?
> 
> Seems you are trying to output XML as text. See
> http://www.kid-templating.org/trac/wiki/KidFaq#i-want-to-output-xml-html-but-and-get-escaped
> 
> -- Christoph
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kid-template-discuss mailing list
> kid-template-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kid-template-discuss


-- 
Thijs Thiessens <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to