[ZPT] CVS: Releases/Zope/lib/python/Products/PageTemplates/help - PageTemplate_Edit.stx:1.2

Evan Simpson evan@zope.com
Tue, 23 Oct 2001 15:56:05 -0400


Update of /cvs-repository/Releases/Zope/lib/python/Products/PageTemplates/help
In directory cvs.zope.org:/tmp/cvs-serv18913/help

Modified Files:
	PageTemplate_Edit.stx 
Log Message:
Added and documented the ability to control the parsing of a template as
XML or HTML with an 'is_html' property.  If this property doesn't exist,
the default content-type-sniffing behavior is used.


=== Releases/Zope/lib/python/Products/PageTemplates/help/PageTemplate_Edit.stx 1.1 => 1.2 ===
         
         'Content-Type' -- Allows you to specify the content-type that
-        will be given to renderings of this template.
+        will be given to renderings of this template.  Also, if the
+        content type is 'text/html' (the default) then the template is
+        assumed to contain HTML, not XML.  This affects both parsing
+        and rendering of the template, and can be overridden by giving
+        the template an 'is_html' property.
+
+        'Expand macros when editing' -- Allows you to turn the expansion
+        of METAL macros on or off.  This only affects viewing of the
+        source code, not rendering.
         
     Buttons and Other Form Elements