The requirement in simple logic is(please ignore the syntax i just want to tell u the requirement):
<variable name="a" select="//SearchRequest/@Input">
<template>
<when a=1>
One
</when>
<when a=2>
Two
</when>
<otherwise>
None
<otherwise>
<!--here i want to create one element with above value which is
condition based i.e One or Two or None-->
<template>
so please help me to hold condition based value in XSL.