cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Staub <est...@silknet.com>
Subject RE: URL Encoding
Date Thu, 29 Jun 2000 13:29:08 GMT
Stefano,

Just to clarify some of the later mail in this thread...

I think your "hack" statement was referring to the notion of using XSLT as a
generator.  Were you ALSO criticizing the particular detailed technique used
in the case at hand ("xsl:value-of...")?  If so, can you explain why?  In
the larger context, this looks like a translation to me, not a generation.

Also , I think Ulrich got misquoted more than once... his "looks cool" was
in reference to the narrow "xsl:value-of" technique, not to replacing XSLT
with XSP.

Thanks,
-Ed Staub
"When you get really good with a hammer, everything looks like a nail."

-----Original Message-----
From: Stefano Mazzocchi [mailto:stefano@apache.org]
Sent: Monday, June 26, 2000 7:17 AM
To: cocoon-users@xml.apache.org
Subject: Re: URL Encoding


Ulrich Mayring wrote:
> 
> Donald Ball wrote:
> >
> > <xsl:value-of select="java:java.net.URLEncoder.encode($url)"/>
> 
> Looks cool, will XSP become obsolete?

Some believe so. I don't.

XSP are compiled into generators, XSLT with extensions as filters.

True, one could implement a dynamic tag in both, but there are cases
where it's faster to hardcode the dynamic code at generation time
instead of having to parse the generated file and apply the stylesheet.

Some XSLT gurus suggested that XSLT can be translated into generators as
well, thus removing completely the need for XSP.

While I agree with this concept, I don't like how it ends up being.
People think at xslt as filtering, using it as a generator is, IMO, a
big hack and should be avoided.

Also, XSP provide logicsheets and Ricardo is working on a simpler
logicsheet language to allow taglibs to be portable. XSLT 1.1 is
supposed to have extention portability and this might make everything we
do obsolete.

But this might take months to be come a reality and we cannot wait for
that.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message