You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Vincent <vi...@medisite.net> on 2001/10/30 17:08:11 UTC

xmlns:java

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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>