Hi Roy
I know how to do this for page2xhtml.xsl (see code extract from
publication-sitemap.xmap). All the parameters below are available
inside page2xhtml.xsl but not in menu.xsl.
Any hints how to make parameters available in menu.xsl?
....
<map:transform src="xslt/page2xhtml-{4}.xsl">
<map:parameter name="root" value="{page-envelope:context-
prefix}/{2}/{3}"/>
<map:parameter name="url" value="{5}"/>
<map:parameter name="publication-id" value="{2}"/>
<map:parameter name="document-id" value="{page-
envelope:document-id}"/>
<map:parameter name="document-type" value="{page-
envelope:document-type}"/>
<map:parameter name="document-label" value="{page-
envelope:document-label}"/>
<map:parameter name="language" value="{page-
envelope:document-language}"/>
<map:parameter name="area" value="{3}"/>
<map:parameter name="rendertype" value="{1}"/>
</map:transform>
....
best regards, Jürgen
Am 07.02.2006 um 10:35 schrieb Roy, Ansuman:
Hi Jurgen,
Try sending it through xmap with <map:parameter> tag. I think you
can do it this way
regards,
Roy
-----Original Message-----
From: Jürgen Ragaller [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 07, 2006 2:45 PM
To: lenya user list
Subject: $document-id in menu.xsl
Hi, lenya users and developers
I am working on a customized menu.xsl - and like to use the parameter
$document-id from within menu.xsl.
How can I pass this parameter (or any parameter) to menu.xsl (I tried
to pass a parameter from page2xhtml.xsl using a with-param statement
- without success).
Help is appreciated,
Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail and any attachment is for authorised use by the
intended recipient(s) only. It may contain proprietary material,
confidential information and/or be subject to legal privilege. It
should not be copied, disclosed to, retained or used by, any other
party. If you are not an intended recipient then please promptly
delete this e-mail and any attachment and all copies and inform the
sender. Thank you.
---------------------------------------------------------------------
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]