On 10.05.2004 15:47, Lionel Crine wrote:

In my xsl, I have an <xsl:param name="message"/>


Here is the resource :


<map:resource name="display_modif_declare">
      <map:transform src="xsl/open_modification_declare.xsl" type="xslt"/>
      <map:transform src="xsl/presentation.xsl" type="xslt">
        <map:parameter name="role" value="{session-attr:ROLE}"/>

Add <xsl:parameter name="message" value="{message}"/> here.


      </map:transform>
      <map:serialize type="html"/>
    </map:resource>

The value="{message}" refers to the resource call.


Joerg

At 17:36 08/05/2004 +0200, you wrote:

On 07.05.2004 16:28, Lionel Crine wrote:

Hi all,
I'm trying this in a pipeline :
<map:call resource="display_modif_carryout">
<map:parameter name="message" value="coucou"/>
</map:call>
I have an xsl stylesheet in the resource to get the parameter but it is empty.
Why that ?


In the ressource you need to pass the parameter to the stylesheet. And in the stylesheet you must have <map:param/> globally, but I guess you have that one. How does your resource look like?

Joerg

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to