portal-page.xsl is invoked in the portal pipeline, so passing sitemap
parameters is easy.  The "tab" stylesheets are configured in cocoon.xconf
and are invoked via the XSLTAspect during portal processing. The sitemap
is not involved in that.  However, you can pass parameters to these
stylesheets. They can be configured into the XSLTAspect definition or in
the portal layout as layout parameters. Both can contain references to
input modules.

HTH
Ralph


Philippe Guillard said:
> Hi all,
>
> I can get a sitemap parameter in portal-page.xsl, but can't find a way
> to get it in other stylesheets like linktab.xsl. Any idea?
>
> In the main portal sitemap i have :
>
>     <map:match pattern="portal">
> ........
>                             <map:transform
> src="{global:skin}styles/portal-page.xsl">
>                                 <map:parameter name="fortitle"
> value="{session-attr:myAttribute}"/>
>                                 <map:parameter name="user" value="{ID}"/>
>                             </map:transform>
> ....
>     <map:match/>
>
> In portal-page.xsl:
> <xsl:param name="myAttribute"/>
> i get my parameter sucessfully
>
> But in linktab.xsl:
> <xsl:param name="myAttribute"/>
> then <xsl:value-of select="$myAttribute"/>  gives nothing. I don't
> understand how stylesheets are imbricated?
>
> Phil
>
> ---------------------------------------------------------------------
> 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]

Reply via email to