transfering variable values from the java side to the xsl side

2001-08-16 Thread Markus Reckwerth

Hi to all,

I'm wondering what's wrong with a code like this in an xsp/xsl
stylesheet (both processing instructions are used):

xsp:logic
String str = foo;
/xsp:logic
xsl:variable name=var
xsp:exprstr/xsp:expr
/xsl:variable

The xsp:expr-tag is completely ignored and the textual value str
assigned to the variable var.

Can anybody help?

I'm still using Cocoon 1.8.2.

Regards,
Markus.

-
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]




Re: transfering variable values from the java side to the xsl side

2001-08-16 Thread Christopher Painter-Wakefield


See my reply to Martin.  You have the same problem: you can't mix XSP and
XSL.  You can use XSL in a logicsheet to generate XSP code, or you can run
XSP code to generate XML and then transform the output with XSL.

-Christopher




Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:

Subject:  transfering variable values from the java side to the xsl side


Hi to all,

I'm wondering what's wrong with a code like this in an xsp/xsl
stylesheet (both processing instructions are used):

xsp:logic
 String str = foo;
/xsp:logic
xsl:variable name=var
 xsp:exprstr/xsp:expr
/xsl:variable

The xsp:expr-tag is completely ignored and the textual value str
assigned to the variable var.

Can anybody help?

I'm still using Cocoon 1.8.2.

Regards,
Markus.




-
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]