Thanks Dieter you're knowledge are really great. I found also a answer in a document called Zope Page Templates: "Advanced Usage" from digital creations a example usage of structure ____________________________ Inserting Structure Normally, the tal:replace and tal:content statements quote the text that they insert, converting < to <, for instance. If you actually want to insert the unquoted text, you need to precede the expression with the structure keyword. Given a variable copyright, the following two lines: <span tal:replace="copyright">Copyright 2000</span> <span tal:replace="structure copyright">Copyright 2000</span> ...might generate "© 2001 By <b>Me</b>" and "© 2001 By Me" respectively. This feature is especially useful when you are inserting a fragment of HTML that is stored in a property or generated by another Zope object. For instance, you may have news items that contain simple HTML markup such as bold and italic text when they are rendered, and you want to preserve this when inserting them into a "Top News" page. In this case, you might write: <p tal:repeat="article topnewsitems" tal:content="structure article">A News Article</p> Mit freundlichen Grüssen Roger Ineichen ___________________________ Projekt01 GmbH www.projekt01.ch Langackerstrasse 8 6330 Cham phone +41 (0)41 781 01 78 mobile +41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email r.ineichen@projekt01.ch ___________________________ END OF MESSAGE
-----Ursprüngliche Nachricht----- Von: Dieter Maurer [mailto:dieter@handshake.de] Gesendet: Mittwoch, 23. Oktober 2002 20:31 An: r.ineichen@projekt01.ch Cc: zope@zope.org Betreff: Re: [Zope] Exsternal method quote
Projekt01, Roger Ineichen writes:
What can I do if I whould return html code frome a external method? > It always quote the return string It seems that you are calling your external method from ZPT.
In this case, you must use "structure" in from of your call.
Dieter