[PHPTAL] Validation of XHTML
phptal at jakeman.plus.com
phptal at jakeman.plus.com
Sun May 17 12:52:22 CEST 2009
> Thanks for this information, do you have created a custom DTD for PHPTAL
with all the attributes list ?
> This will be cool if you can share it :-)
I have sent a copy of the custom DTD privately. It merely appends some
attributes that enabled me to validate 3 attributes:
<!-- Customised to suit template.html -->
<!ATTLIST html metal:define-macro CDATA #IMPLIED>
<!ATTLIST div metal:define-slot CDATA #IMPLIED>
<!ATTLIST title tal:content CDATA #IMPLIED>
I see that Tjerk has written:
> It would be much easier if you could just add tal: and metal: inside the
%coreattrs definition ;-)
I'm not sure what he means. If anyone knows how to extend a DTD in a more
general way to suit any PHPTAL file, I would love to see it.
Chris
More information about the PHPTAL
mailing list