-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 4 Sep 2000, Paul J. Lucas wrote:
> 
>       And I still think that:
> 
>         <DIV CLASS="employee_info">
>           Name: <SPAN CLASS="text::name">John Q. Public</SPAN><BR>
>           Job: <SPAN CLASS="text::job">mod_perl guru</SPAN>
>         </DIV>
> 
>       is cleaner still: *pure* HTML (no fake elements) that any web
>       tool will understand and dummy-content so the page designer can
>       see the end-product before any code is written.
> 
>       Another benefit in not mixing any code in the template is that
>       the web page designer can wake up tomorrow and change the
>       template to:
> 
>         <TABLE>
>           <TR>
>             <TH>Name</TH>
>             <TH>Job</TH>
>           </TR>
>           <TR CLASS="employee_info">
>             <TD CLASS="text::name">John Q. Public</TD>
>             <TD CLASS="text::job">mod_perl guru</TD>
>           </TR>
>         </TABLE>

Great, as long as there's no loops or anything but straight up text
replacement...  I don't like this approach at all!

Where in your example do you leave room to display an array of employees?

What if you need to actually USE the `class' attribute of your HTML element?
It's been hijacked!

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE5s9yF+2VvpwIZdF0RAoZFAKCQ98QYfj+mTSoQb2X+KBCzj6PA2wCgoCfl
jZJ0JNmHxQpzfRJ+6GE3W6Y=
=/kos
-----END PGP SIGNATURE-----

Reply via email to