hello, I have the following now, but don't see anything else that "test1"
printed out.... :

   <!-- request parameter used for language -->
   <xsl:param name="lang"/>
....
   <xsl:template match="/">
   <html>
   test1
   <xsl:value-of select="$lang"/>
.............

and in the sitemap :
...
     <map:transform src="xsl/mysheet.xsl">
     <map:parameter name="lang" value="{lang}"/>
     </map:transform>
...

log says :
Current Sitemap Parameters:
PARAM: 'lang' VALUE: 'EN'
PARAM: '../1' VALUE: 'html'
PARAM: '../0' VALUE: 'index.html'

The match right before this ones does :

    <map:act type="sessionManagement">
    <map:generate src="xml/menu.xml"/>
    <map:transform src="xsl/menu.xsl">
    <map:parameter name="lang" value="{lang}"/>
    </map:transform>
    <map:serialize type="html"/>

so "lang" is set by map:act. I can check that it's ok in menu.xsl. Thanks.
BP

----- Original Message -----


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to