On 2/7/06, Jürgen Ragaller <[EMAIL PROTECTED]> wrote: > Now I know, I can look in navigation.xmap for the parameters > available for menu.xsl - the parameters set there will be fine for > the xslt inside my menu.xsl.
Depending on which "parameters" you want, the information may be available to menu.xsl. "root" is unavailable, but hopefully unnecessary since the URLs are relative. "publication-id" and "rendertype" are unavailable. DocumentType is the extension ".html". LanguageURL returns "_en"; Langauge returns "en". The 2 urls return the same data, so you only need one. You may need to process some of the variables more to get the exact information you need. <xsl:variable name="url"><xsl:value-of select="/nav:site/@url"/></xsl:variable> <xsl:variable name="url2"><xsl:value-of select="//nav:[EMAIL PROTECTED]'true']/@href"/></xsl:variable> <xsl:variable name="documentid"><xsl:value-of select="//nav:[EMAIL PROTECTED]'true']/id"/></xsl:variable> <xsl:variable name="documenttype"><xsl:value-of select="//nav:[EMAIL PROTECTED]'true']/@suffix"/></xsl:variable> <xsl:variable name="documentlabel"><xsl:value-of select="//nav:[EMAIL PROTECTED]'true']/nav:label"/></xsl:variable> <xsl:variable name="language"><xsl:value-of select="//nav:[EMAIL PROTECTED]'true']/nav:label/@xml:lang"/></xsl:variable> <xsl:variable name="languageurl"><xsl:value-of select="//nav:[EMAIL PROTECTED]'true']/@language-suffix"/></xsl:variable> <xsl:variable name="area"><xsl:value-of select="/nav:site/@label"/></xsl:variable> This is not one of the normal parameters. It returns "parent1/parent2/docid". <xsl:variable name="fulldocid"><xsl:value-of select="//nav:[EMAIL PROTECTED]'true']/@basic-url"/></xsl:variable> solprovider --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
