cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@mad.scientist.com>
Subject Re: [C2]Access control using sitemap
Date Tue, 12 Sep 2000 13:53:57 GMT
At 08:19  11/9/00 +0200, you wrote:
>Peter Donald wrote:
>> 
>> At 10:58  9/9/00 +0200, Stefano Mazzocchi wrote:
>> >And calling java methods from XSLT extentions or using WebMacro like
>> >templating is not a better solution either, since all have pros and
>> >cons. There is no silver bullet.
>> 
>> just curious but what are the cons for a template approach. 
>
>One for all: speed!

kewl. Thou I think velocity will have a compiled sheets aswell :P

>> I have only
>> barely played with that and it was a custom solution a few years ago (when
>> I didn't mind hacks :P). I would love to to have XML templating + CSS
>> styling (rather than icky icky xslt) - so tell me why thats a bad idea :P
>
>Well, maybe you are not listening, but tell me if this is ok for you
>
> <?xml version="1.0"?>
> <?xml-stylesheet href="page.css" type="text/css"?>
> <page>
>  <content>
>   <p>Hello Peter, I told you this <util:count/> times</p>
>  </content>
> </page>
>
>isn't this enough of a XML template with no "icky icky xslt"? ;-)

this is great :P

>Why to you keep thinking that "using XSP" means "placing programming
>code into your pages"?

I have been badly burned by the other *SPs (ASP/JSP) and NEVER want to
there again so call it extreme cautiousness or paranoid delusions :P


Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message