cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: [RT] the quest for the perfect template language
Date Wed, 02 Apr 2003 19:13:55 GMT
Steven Noels wrote:

> On 2/04/2003 20:25 Stefano Mazzocchi wrote:
>
>> IMHO, the template language which is closer to the optimum is XSLT 
>> but only with one change:
>>
>>  FORGET THE XML SYNTAX!
>
>
> Corollary, we should drop the XML syntax for the sitemap. I 
> customarily use this syntax when RT'ing snippets:
>
> match pattern="foo"
>   generate src="baa.xml"
>   transform src="too.xsl"
>   serialize
>
> I admit having read many Python books lately. 


We can easily guess that. Please, please add braces !!!

match pattern="foo" {
  generate src="baa.xml"
  transform src="too.xsl"
  serialize
}

;-P

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



Mime
View raw message