Page 1 of 1

XSLT Query

Posted: Thu Nov 08, 2007 10:03 am
by satishu
Hi All,


I have to set a condition in XSLT Mapping programm.

I know the query in SQL but i son't in XSLT

Suppose i have a emmployee basic field The employee basic value should be between >=5000 and <=10000.

How can i write in XSLT.

Thanks,
Satish

Posted: Thu Nov 08, 2007 9:43 pm
by jkmyoung
Need to see your xml, and what you want exactly, eg
select="employeeValue > 5000 and employeeValue < 10000"

Posted: Thu Nov 08, 2007 9:43 pm
by jkmyoung
arghh. no edit on this forum. forgot the ='s
select="employeeValue >= 5000 and employeeValue <= 10000"

Posted: Thu Nov 08, 2007 9:44 pm
by jkmyoung
would be more like
select="employee[employeeValue >= 5000 and employeeValue <= 10000]"