Hi!
Well, yes you are right for that. But it happens that we make several calls to different classes, and we do not want to declare a namespace-prefix, for each one of them, as many of them are called once in the script. That is why we are interested in having a general namespace for java like the one I posted in the first message.
Regards!
On 3/11/02 5:53:33 PM, Ivan Pedruzzi wrote:
>
Hi Daniel,
The internal
>processor support the
>following
>syntax:
Declaration:
xmlns:My
>Ext="myproject.MyClass"
Invoc
>ation:
xsl:value-of
>select="MyExt:myMethod()"
The
>same syntax should be support
>across different processors :
>Xalan,
xt, Saxon
Ivan
>Pedruzzi
eXcelon
>Corporation
http://www.styluss
>tudio.com
> -----Original
>Message-----
> From:
>stylus-studio-tech Listmanager
>[mailto:listmanager]
> Sent:
>Monday, March 11, 2002 5:53
>PM
> To: Recipients of
>'stylus-studio-tech'
>suppressed
> Subject: java
>extensions
>
>
> From:
>"Daniel Lucio"
>
> Hi!
>
>
>I am developing java
>extensions and I found out
>that with
> stylus studio's
>internal processor, you can
>not declare a
> namespace for
>java like:
>
>
>xmlns:java="http://xml.apache.
>org/xslt/java"
>
> And make a
>call to java object like:
>
>
>java:myproject.MyClass.myMetho
>d(mydata)
>
> Stylus studio
>thows a message that says:
>
>
> "Exception calling Java
>extension:
>
>java.lang.ClassNotFoundExcepti
>on:http://xml.apache.org/xslt/
>java
> at
>CXClassLoader........
> .
>
>."
>
> Regards
>
> Pd, I
>tried my script with Xalan on
>the command line and it
>worked.
>
>
>
> To reply:
>mailto:stylus-studio-tech.4827
>@edn.exceloncorp.com
> To
>start a new topic:
>mailto:stylus-studio-tech@edn.
>exceloncorp.com
> To login:
>http://edn.exceloncorp.com/~SS
>DN
>
>