Ok, let me try to phrase it simpler. My logicsheet function which serves as my generator produces (and returns) an xml string. Why, before it gets passed to my xsl transformer are all the angle brackets converted to < and >, and is there a way to stop this behavior?
I've searched for an answer and read through all the xsp/logicsheet stuff and don't see this described anywhere. Thanks, Jeff -----Original Message----- From: Schmitz, Jeffrey A Sent: Monday, February 05, 2007 3:12 PM To: users@cocoon.apache.org Subject: RE: Xsp logicsheet method invocation In a related question, my java code is generating XML code to return to the cocoon pipeline via the xsp generator. However, somewhere along the way all the angle brackets are getting converted into < and >, before getting sent to my xsl transformer. Is there a way to make cocoon NOT do this conversion on my generator output so that my xsl transform will properly transform the code? Thanks Jeff -----Original Message----- From: Schmitz, Jeffrey A Sent: Monday, February 05, 2007 1:49 PM To: users@cocoon.apache.org Subject: Xsp logicsheet method invocation Hello, I'm trying use and xsp generator that uses a logic sheet, and I'm almost there, but there's something I don't understand. For some reason, in my logicsheet xsl file, I have to put xml tags around my java function invocation, otherwise, when I try to invoke the associated sitemap pipeline, cocoon returns immediately with no data, without ever invoking my function. Here's what I have to make my logicsheet xsl look like in order to get it to run: <xsl:template match="MyTag:runFunc"> <junkTag> <xsp:expr>runfunc()</xsp:expr> </junkTag> </xsl:template> However, I don't want the junkTags returned as I don't want to process them in my xml transform. I'd rather be able to just do: <xsl:template match="MyTag:runFunc"> <xsp:expr>runfunc()</xsp:expr> </xsl:template> Here is the xsp file that references the logicsheet xsl. <xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:util="http://apache.org/xsp/util/2.0" xmlns:DiagML="http://www.boeing.com/MyTag"> <MyTag:runFunc> </MyTag:runFunc> </xsp:page> Again, it works fine as long as I have the junkTag's, so I must have everything configured ok for the logicsheet. Thanks, jeff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]