cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Larsson" <max.lars...@gmservice.de>
Subject RE: [C2] How to give intelligence to XSL ???
Date Tue, 02 Oct 2001 14:09:02 GMT
HI,

no i'am not using it in xsl. I read your mail to fast.
I thought you wrote xsp, blame me. But anyway have you tried
to pass the the value from the session to the xalan through
the sitemap. To da that you would need an action, which reads
the session attribute and sotores it accessibel to the sitemap.
Something like that


<map:match pattern="anything">
	<map:act type="sessiontoresultaction">
		<map:generate type="serverpages" src="anything"/>
		<map:transform src="anything.xsl">
			<map:parameter name="session_attribure" value="{session_attribute}"/>
		</map:transform>
		<map:serialize/>
	</map:act>
</map:match>

How exactly that works, you have to figure out by scanning docs, posted
mail here.

Max


-----Original Message-----
From: smile@gmservice.de [mailto:smile@gmservice.de]On Behalf Of Samuel
Arnod-Prin
Sent: Dienstag, 2. Oktober 2001 15:56
To: cocoon-users@xml.apache.org
Subject: Re: [C2] How to give intelligence to XSL ???


Max Larsson a écrit :
>
> Hi,
>
> i am using the session logic sheet with C2b1. The only thing
> i can think why it does not work with you is that the namespace
> for the session logicsheet is not correct. i use the following:
> ...
>  xmlns:session="http://apache.org/xsp/session/2.0"
> ...

do you really use it into the xsl file ?

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message