David Glick wrote:
Martin Aspeli wrote:
Is it possible to explicitly invoke the TAL XML parser in the
"self.index()"
call above, rather than the HTML parser? I guess it must be...
I'm sure it is, but that's not what controls the Content-Type header
that is sent back to the browser. That header is set by setBody() in
ZPublisher.HTTPResponse::
I didn't read Derek's original question carefully enough. He was
actually asking about how to make the TAL parser behave differently (and
deal with mixed-case tags properly), rather than about how to change the
output content type. Unfortunately I don't know the answer to the
former question.
D'oh! :)
I only read your reply and inferred his question from that. Sorry about
that.
Martin
--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers