Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 78948 invoked by uid 500); 7 Sep 2002 07:56:17 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 78937 invoked from network); 7 Sep 2002 07:56:17 -0000 Message-ID: <3D79B109.A7981B41@wu-wien.ac.at> Date: Sat, 07 Sep 2002 09:55:53 +0200 From: "Rony G. Flatscher" X-Mailer: Mozilla 4.78 [de] (Windows NT 5.0; U) X-Accept-Language: de MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Seeking help on BSF calling a non-Java language engine (Rexx) ... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi there, have tried to research the mail-archives, the documentation and the FAQ, but have not come up with a solution to a BSF-related problem, so my request for help in this group of very ;) knowledgable people. Here's the problem: Extending the functionality of XSLT by defining a Rexx function which should get called with the help of BSF during an XSLT-transformation. Obviously the call()-Method is invoked and not apply(), which would supply the source-code in the form of a String. The BSF RexxEnigne call() method receives the declared function-name and the argument(s), but not the source code. Here's the question: how is it possible at runtime to get a hold of the source code (this is needed to be passed on to the used Rexx interpreter)? [Obviously, the RexxEngine is found and its call() Method is used, so that part would be o.k.] Please, if you have any insights or hints which may help solve this problem, then please do! (Would there be a way to force apply() to be used instead of call(), which would supply the source? Or, could one indicate that the object-argument supplied to call() which is set to null should possess the sourcecode?) --- Should you need an example (XSLT defining the extension embedding the Rexx code etc. and a short XML-file to be processed, URL to the Rexx-support for BSF), then please let me know. Thanks in advance, ---rony --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org