I am trying to do an if statement to select a template according to values of an element. I have this
<http://localhost:8080/cocoon/vyzo/login?cocoon-view=first##> - <<parameter> <http://localhost:8080/cocoon/vyzo/login?cocoon-view=first##> - < <parameter-name> < BeginEndDate </parameter-name> <http://localhost:8080/cocoon/vyzo/login?cocoon-view=first##> - < <parameter-name> < Locations </parameter-name> </parameter> and I want to do : if(element(parameter-name) == BeginEndDate) { do this; } else if (element(parameter-name) == Locations) { do that; } Any help will be greatly appreciated. Thank you. Tim Bachta --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]