Re[2]: [ZPT] Making TAL span across XHTML tags (long) ( what about doctyupes ??)
Geir Bækholt
Geir Bækholt <geirh@funcom.com>
Fri, 20 Apr 2001 11:08:06 +0200
one problem, not really related , i discovered when thinking about
this :
What about doctype and xml declarations ??
They are by definition outside the element/dom structure , and
therefore cannot be fetched through METAL-macros for instance..
think of a move from xhtml-transitional to xhtml-strict ; would you
have to manually change all your pages using zpt ?
Perhaps there should be something like xml-processing instructions
<?foo?> for stuff like this ?
--
Geir Bækholt
web-developer/designer
geirh@funcom.com
http://www.funcom.com
on or about, Friday, April 20, 2001, we have reason to believe that Martijn Pieters wrote something along the lines of :
MP> On Fri, Apr 20, 2001 at 10:42:37AM +0200, Geir B?kholt wrote:
>> It is only a soution for tables, though , and not a general fix , but
>> most places outside a table you could easily use a div..
MP> As far as I can tell, only tables and the HTML <head> section will be
MP> problematic. For tables, <tbody> elements are perfect, for the head I use
MP> tal:replace and have a method return multiple elements.
>> i was in doubt about the validity of using multiple <tbody>elements in
>> a table , but the w3 validador does not complain in a html4 document
>> at least..
MP> You are specifically allowed to use multiple tbody elements; they let you
MP> group rows for easy application of common CSS attributes, for example.