I think either of these will work:
<xsp:logic><![CDATA[
String msg = ContactBO.getContacts("<xsl:value-of select="pim:nummer"/>");
]]></xsp:logic>
or
<xsp:logic>
String msg = ContactBO.getContacts("<xsl:value-of
select="pim:nummer"/>");
</xsp:logic>
If not, I'll try to come up with another solution.
DR
At 02:24 PM 11/2/01 -0800, you wrote:
>Long time I had time to look at this, but I still have the problem.
>
>My problem is not getting the parameter to the Java method, but the fact
>that the XML returned from my method (msg) is escaped/encoded so that "<",
>">" and so on is escaped to something quite useless.
>
>I have attached my original post! Please help me :)
>
>-----Oprindelig meddelelse-----
>Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sendt: 12. oktober 2001 04:41
>Til: [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Emne: Re: SV: Newbie XSP question - why dosn't this work?
>
>
>Hi S�ren,
>
>On Fri, 12 Oct 2001, S�ren Neigaard wrote:
> > <xsp:logic>
> > String msg = ContactBO.getContacts(
> > "<xsl:value-of select="pim:nummer"/>" <!-- osv, hvis der er
>andre
> > parametre -->
> > );
> > System.out.println("\n---> XML returned from BO:\n");
> > System.out.println(msg);
> > System.out.println("\n---\n");
> > </xsp:logic>
>
>Are you sure you want to what you are doing with the "-s? I am a complete
>newbie on this, but it seems to me that the Java part of things would get
>into problems with the 4 "-s up there... you'd have to do some escaping of
>them, ie.
>
>String msg = ContactBO.getContacts(
> "<xsl:value-of select=\"pim:nummer\"/>"
> );
>
>Hope that works...
>
>Sincerely,
>Jan
>
>--
>Mr. Jan-Aage Bruvoll IT Project Manager
>20 Min Holding, Thurgauerstrasse 40, CH-8050 Zurich
>Zurich office: +41 1 307 4293, fax: +41 1 307 4281
>Office/fax: +44 2072408283 Mobile: +44 7740291600
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>