Hi George,

George Kelly wrote:
[...]
However I cannot track down where <xsl:apply-templates select="xhtml:[EMAIL PROTECTED] = 'menu']"/> points to or how to customize the outputted menu html.

take a look at your publications sitemap.xmap file. Search for "page2xhtml-{4}.xsl" [{4} is the resource type]. This is the point where the menu is being applied [above in the aggregate], <map:part src="cocoon://modules/sitetree/{2}/{3}/menu/{5}.xml"/>.

The internal request for the menus I believe gets routed to a sitemap file in /modules/sitetree from the global-sitemap.xmap file. Create a [yourpub]/lenya/modules/sitetree/xslt/navigation/menu.xsl file to override the default menu [copy from default pub and alter to suit]. I believe that the xsl is applied to a version of the sitetree.xml file [in content area].

I would like to use nested lists instead of the divs, is that already in there or how would I go about setting that up for my publication.

I am not sure what the default pub uses [haven't really looked in a while]. I am using a nested <ul> based menu for my pub. I will send it to you off list [don't want to send a large xsl file to the list].

--Doug


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

Reply via email to