cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent <vincent.ma...@medisite.net>
Subject xmlns:java
Date Tue, 30 Oct 2001 16:08:11 GMT
Hi,

I'm trying to run an example, which calls that namespace :
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
   extension-element-prefixes="java redirect"
   xmlns:java="http://xml.apache.org/xslt/java"
 >

When i call this extension with:
<xsl:value-of select="(java:java.lang.Math.sin($currentAngle div 2) * -20) 
+ 160"/>

That's what i've got :

Call to extension function failed: File "http://xml.apache.org/xslt/java" 
not found.


Where i'm wrong ??

Thanks

Vince.



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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