[Hypercontent-users] Quick Question
Brought to you by:
alexvigdor
From: Carl B. <C.P...@hu...> - 2005-09-13 15:33:30
|
Hi Alex Sorry I've not been on the list for a while after the birth of our little boy I've been very busy. I hope all is going well at Columbia. HyperContent is running very well here at Hull. (Still 1.4) I have a quick question that you will probably be able to answer quickly for me. I need to check where in the site structure a page is and depending on it's location but in a different menu. ( I'm not auto generating them for this site) . So I have seven top level directories each of which will have a different menu which needs to be reflected on all directories and files from that level down. I've tried: <xsl:when test="$sourceItem/@location = '/aboutus/*'"> <xsl:call-template name = "statmenu"/> </xsl:when> But that doesn't work. I can check for a specific file : <xsl:when test="$sourceItem/@location = '/aboutus/index.html'"> and that does work. do you have any idea how I might do it? I don't really want to use seven different templates! Cheers Carl -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |