[Zpt] DW 4 and ZPT...
Todd Coram
todd@digicool.com
Fri, 9 Mar 2001 08:34:19 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0039_01C0A873.BBD333A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Ugh. I can't seem to get DW 4 to *munge* my TAL markup. This should be =
good news, but given the macromedia newsgroup thread regarding how DW 4 =
is broken in regards to XHTML (especially namespaces), this is annoying =
me.
Let's assume, for the moment, that ZPT *doesn't* care about XHTML (it =
only cares that the elements with TAL/METAL attributes are well formed). =
Let's also assume that Dreamweaver users craft pretty well formed HTML =
(end tags on everything) and they are NOT trying to do XHTML/XML. If DW =
doesn't muck with the following chunk of HTML, then life is good, right?
<html xmlns:tal=3D"http://xml.zope.org/namespaces/tal"
xmlns:metal=3D"http://xml.zope.org/namespaces/metal"
metal:use-macro=3D"here/StandardLookAndFeel/macros/master">
<head>
<title>Untitled Document</title>
<meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Diso-8859-1">
</head>
<body>
<div metal:fill-slot=3D"main">
<p>Welcome to the machine</p>
<p>Choose your type:</p>
<ul>
<li tal:repeat=3D"type python:'digital', 'analog', 'organic'"> =
<a href=3D"dummy"
tal:attributes=3D"href string:/mach/$type"
tal:insert=3D"type">selection</a>
</li>=20
</ul>
</div>
</body>
</html>
------=_NextPart_000_0039_01C0A873.BBD333A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Ugh. I can't seem to get DW 4 to =
*munge* my TAL=20
markup. This should be good news, but given the macromedia newsgroup =
thread=20
regarding how DW 4 is broken in regards to XHTML (especially =
namespaces), this=20
is annoying me.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Let's assume, for the moment, that ZPT =
*doesn't*=20
care about XHTML (it only cares that the elements with TAL/METAL =
attributes are=20
well formed). Let's also assume that Dreamweaver users craft pretty well =
formed=20
HTML (end tags on everything) and they are NOT trying to do XHTML/XML. =
If DW=20
doesn't muck with the following chunk of HTML, then life is good,=20
right?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><BR><html=20
xmlns:tal=3D"http://xml.zope.org/namespaces/tal"<BR> &nb=
sp; =20
xmlns:metal=3D"http://xml.zope.org/namespaces/metal"<BR>  =
; =20
metal:use-macro=3D"here/StandardLookAndFeel/macros/master"><BR><hea=
d><BR><title>Untitled=20
Document</title><BR><meta http-equiv=3D"Content-Type" =
content=3D"text/html;=20
charset=3Diso-8859-1"><BR></head><BR> =20
<body><BR> <div=20
metal:fill-slot=3D"main"><BR> =20
<p>Welcome to the=20
machine</p><BR> =
<p>Choose your=20
type:</p><BR> =20
<ul><BR> =
<li=20
tal:repeat=3D"type python:'digital', 'analog', 'organic'">=20
<BR> <a=20
href=3D"dummy"<BR> &=
nbsp; =20
tal:attributes=3D"href=20
string:/mach/$type"<BR> &n=
bsp; =20
tal:insert=3D"type">selection</a><BR> &nb=
sp; =20
</li> <BR> =20
</ul><BR> </div><BR> =20
</body><BR> </html></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><BR></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0039_01C0A873.BBD333A0--