Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 67351 invoked from network); 12 Jan 2004 14:31:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Jan 2004 14:31:23 -0000 Received: (qmail 97549 invoked by uid 500); 12 Jan 2004 14:31:11 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 97533 invoked by uid 500); 12 Jan 2004 14:31:10 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 97520 invoked from network); 12 Jan 2004 14:31:10 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 12 Jan 2004 14:31:10 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Ag35z-0001mZ-00 for ; Mon, 12 Jan 2004 15:31:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@cocoon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ag35y-0001mR-00 for ; Mon, 12 Jan 2004 15:31:10 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Ag35y-00044p-00 for ; Mon, 12 Jan 2004 15:31:10 +0100 From: Olivier Billard Subject: Re: XSP Generator Problem Date: Mon, 12 Jan 2004 15:30:09 +0100 Lines: 67 Message-ID: References: <1D9854D3D3E3D311A71F009027DC8A570141B6F3@goldfinger.belfast.spirentcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: fr-fr, fr, en, ja In-Reply-To: <1D9854D3D3E3D311A71F009027DC8A570141B6F3@goldfinger.belfast.spirentcom.com> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Your fonction return Strings containing < and > characters, that are escaped by ... In this case you could use a custom transformer to transform your tags to calls and return Sax events. A simple transformer is easy to write -- Olivier On 12/01/2004 15:18, Lamb, Mark wrote: > Hi all, > > I have the following problem that is driving me crazy. > > I have an xsp file called runtest.xsp that has a series of commands > something like this > > myCommand > > This file includes a logicsheet logic.xsl. This file essentialy calls > functions from a Java library based on the commands in the xsp file. The > relevant extract is below. > > > javaLib.executeCommand("") > > > javaLib.executeCommand() returns a String in xml format. I then have a > stylesheet html-format.xsl that attempts to transform the returned xml in to > html. My sitemap is as follows. > > > > > > > > When I run the test I get a blank screen. I look at the source for the > returned page and it is blank between the tags which is where it is > supposed to parse the results of the java command. The stylesheet is good > because I have tested it with the results of the java function saved to a > seperate xml file. > > When I change the sitemap to this: > > > > > > > I get the xml from the java function displayed on screen, but when I look at > the source it looks something like > > > xmlns:xsp-session="http://apache.org/xsp/session/2.0"> > <results> > <copyright> > > Where <results> etc. is the xml being returned from the Java function. > > Does anyway have any idea why this is not working correctly. > > Thanks, > Mark. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org