try <xsl:copy-of select="node()"/> instead. That should copy the <xsp-session-fw:getxml ...> into the output, where it will later get turned into some kind of java expression (hopefully!) by the xsp-session-fw logicsheet. However, I think you want to change your getxml tag as attribute to as="string", or else it looks like you will get an org.w3c.dom.DocumentFragment instead of String, and get an exception anyway! -Christopher Hi, I have big problems with my custom logicsheet, hopeyou can help: I would like to read the user name from the authentication context and use it as a parameter for a method call of my Helper Class. However, at the time the template wants to replace <xsl:value-of select="."/>with the value from the authentication context, there is no (text) value. So that in the end, the XSP is transformed to: BlockerHelper.getInstance().setEditorName(); This throughs an exception, because a String value is expected as method parameter. Every hint is appreciated, Thanks Stephanie My xsp:page looks like this: ---------------------------------------------------------------------------- <xsp:page xmlns:xsp="http://apache.org/xsp" xmlns:blocker="http://test.de/blocker" xmlns:xsp-session-fw=" http://apache.org/xsp/session-fw/1.0"> <page> <xsp:logic> <!--some java logic --> <blocker:set> <xsp-session-fw:getxml as="object" context="authentication" path="/authentication/data/name"/></blocker:set> </xsp:logic> </page> </xsp:page> ---------------------------------------------------------------------------- The XSL-Template in my logicsheet looks like this: ---------------------------------------------------------------------------- <!-- other templates --> <xsl:template match="blocker:set"> <xsp:logic>BlockerHelper.getInstance().setEditorName(<xsl:value-of select="."/>); </xsp:logic> </xsl:template> <!-- other templates --> ---------------------------------------------------------------------------- -- +++ GMX - die erste Adresse f�r Mail, Message, More +++ Neu: Preissenkung f�r MMS und FreeMMS! http://www.gmx.net --------------------------------------------------------------------- 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]
Re: How to nest logicsheet tags of different libraries
Christopher Painter-Wakefield Tue, 09 Dec 2003 11:03:08 -0800
- How to nest logicsheet tags of different lib... Stephanie Zohner
- Chaperone csv conversion example proble... Johan Kok
- Re: How to nest logicsheet tags of diff... Christopher Painter-Wakefield
- Re: How to nest logicsheet tags of ... Stephanie Zohner
- Re: How to nest logicsheet tags of diff... Christopher Painter-Wakefield
- Re: How to nest logicsheet tags of ... Stephanie Zohner
- Bug in session-fw logicsheet (?... Stephanie Zohner
- Re: How to nest logicsheet tags of diff... Christopher Painter-Wakefield
- Re: How to nest logicsheet tags of ... Stephanie Zohner
