sachinw 0 Newbie Poster

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.