Hi!

I want to generate simple xml like:
<x1>
        <y2>...</y2>
</x1>

No headers, no <html> tag, just plain xml.

I can do this in my controller code, but I don't
like the idea.

I tried to use test.kid:
<xml xmlns:py="http://purl.org/kid/ns#"; py:strip="">
        <x1><y2>...</y2>
        </x1>
</xml>

It works, but gives me the header above my xml output:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>

How do I remove the header?
Is there a simpler way to generate xml with
turbogears/kid?

Thanks in advance,
Alexey.

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to