Re: [PHPTAL] XMLNS & DTD

2008-04-23 Thread Iván -DrSlump- Montes
I don't know of any publicly available DTDs for TAL. So either you find a validation tool which doesn't try to load external/unknown DTDs or you create the DTDs yourself and host them somewhere. PS: You can also create some sample data and generate the tal page with it before handling it to the va

Re: [PHPTAL] PHPTAL_TranslationService questions

2008-04-23 Thread Guillaume Lecanu
Hi, No ideas about theses questions ? Le mardi 22 avril 2008 à 22:34 +0200, Guillaume Lecanu a écrit : > Hi, > > Thanks for this project, this seems very interesting. > > I'm trying to adapt my framework to uses your templates engine with my > translations text system. > > But I have some pr

Re: [PHPTAL] How to uses correctly PHPTAL to limit the copy/paste of XHTML ?

2008-04-23 Thread Guillaume Lecanu
Le mercredi 23 avril 2008 à 17:49 +0200, Christoph Frick a écrit : > On Wed, Apr 23, 2008 at 05:07:47PM +0200, Guillaume Lecanu wrote: > > > > Like index.php and about.php have the same menu, I have added a > > /templates/macros.html page. In this macros.html, I have added the > > menu div wit

Re: [PHPTAL] How to uses correctly PHPTAL to limit the copy/paste of XHTML ?

2008-04-23 Thread Christoph Frick
On Wed, Apr 23, 2008 at 05:07:47PM +0200, Guillaume Lecanu wrote: > Like index.php and about.php have the same menu, I have added a > /templates/macros.html page. In this macros.html, I have added the > menu div with the attribute metal:define-macro="menu". In the 2 > others templates pages, I

[PHPTAL] How to uses correctly PHPTAL to limit the copy/paste of XHTML ?

2008-04-23 Thread Guillaume Lecanu
Hi, I'm trying to works with PHPTAL since 2/3 days only. And I would like to explain how I uses it, to permit to the PHPTAL team to tell me if I'm wrong. Example of a very small site : /index.php <= a simple homepage /about.php <= a simple page So I have 2 templates : /templates/index.php /tem

Re: [PHPTAL] XMLNS & DTD

2008-04-23 Thread Guillaume Lecanu
Oups, sorry for my last email. It's an error ! Le mercredi 23 avril 2008 à 16:20 +0200, Guillaume Lecanu a écrit : > Hi, > > Le mercredi 23 avril 2008 à 12:23 +0200, Krzysztof Sikorski a écrit : > > > xmlns:tal="http://xml.zope.org/namespaces/tal"; > > xmlns:metal="http://xml.zope.org/namesp

Re: [PHPTAL] XMLNS & DTD

2008-04-23 Thread Guillaume Lecanu
Le mercredi 23 avril 2008 à 12:48 +0100, Kornel Lesinski a écrit : > On Wed, 23 Apr 2008 08:28:30 +0100, Guillaume Lecanu <[EMAIL PROTECTED]> > wrote: > > > When I try to check my template page in W3C validator, this report some > > errors because of xmlns like metal, tal and i18n. > > > > The

Re: [PHPTAL] XMLNS & DTD

2008-04-23 Thread Guillaume Lecanu
Hi, Le mercredi 23 avril 2008 à 12:23 +0200, Krzysztof Sikorski a écrit : > xmlns:tal="http://xml.zope.org/namespaces/tal"; > xmlns:metal="http://xml.zope.org/namespaces/metal"; > Thanks but theses URL go on an 404 Error page, it's may be what's excepted, I don't know. > I found those two som

Re: [PHPTAL] XMLNS & DTD

2008-04-23 Thread Kornel Lesinski
On Wed, 23 Apr 2008 08:28:30 +0100, Guillaume Lecanu <[EMAIL PROTECTED]> wrote: When I try to check my template page in W3C validator, this report some errors because of xmlns like metal, tal and i18n. There is surely a xmlns:metal, xmlns:tal & xmlns:i18n attributes to put in the tag but I d

Re: [PHPTAL] XMLNS & DTD

2008-04-23 Thread Krzysztof Sikorski
(sorry for double mail) I found those two somewhere on the Zope's site. I can't help you with i10n as I don't use that namespace, but I guess the url is similar. Besides, if you just want the validator to shut up, than probably any url will do, or maybe even an empty attribute (xmlns:i10n=""). ___

Re: [PHPTAL] XMLNS & DTD

2008-04-23 Thread Krzysztof Sikorski
xmlns:tal="http://xml.zope.org/namespaces/tal"; xmlns:metal="http://xml.zope.org/namespaces/metal"; On Wed, Apr 23, 2008 at 9:28 AM, Guillaume Lecanu <[EMAIL PROTECTED]> wrote: > > Hi, > > When I try to check my template page in W3C validator, this report some > errors because of xmlns like meta

[PHPTAL] XMLNS & DTD

2008-04-23 Thread Guillaume Lecanu
Hi, When I try to check my template page in W3C validator, this report some errors because of xmlns like metal, tal and i18n. There is surely a xmlns:metal, xmlns:tal & xmlns:i18n attributes to put in the tag but I don't find the good URL of the DTD. Can you give me the correct URL of DTD's ?