cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Guillard <pguill...@soociety.com>
Subject Portal stylesheets and sitemap parameters
Date Mon, 13 Dec 2004 11:45:18 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message