cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabor Dolla <agdo...@mezon.net>
Subject Re: URI escape
Date Mon, 10 Apr 2000 19:30:11 GMT
Michael,

With your last idea I receive the following:
Call to extension function failed: method call/new failed:
java.lang.NullPointerException


Gabor


On Sun, 9 Apr 2000, Michael Neumann wrote:

> Ok...
> last try ;-)
> 
> <xsl:stylesheet
>   version="1.0"
>   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>   xmlns:java="http://xml.apache.org/xslt/java"
>   exclude-result-prefixes="java"
>   >
> 
> <xsl:template match="/">
>    <xsl:value-of
> select="java:java.net.URLEncoder.encode('your-url-to-encode')"/>
> </xsl:template>
> 
> </xsl:stylesheet>
> 
> 
> -----
> Michael
> 
> 
> 
> 
> 
> > >
> > > Try the namespace http://xml.apache.org/xslt/java/java.net.URLEncoder
> > > instead of http://www.jclark.com/xt/java/java.net.URLEncoder
> >
> > I tried and received this:
> >
> > Call to extension function failed:
> > http://xml.apache.org/xslt/java/java.net.URLEncoder
> >
> > Gabor
> 
> 
> 
> ---------------------------------------------------------------------
> 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