XSLT Query

Here should go questions about transforming XML with XSLT and FOP.
satishu
Posts: 2
Joined: Thu Nov 08, 2007 9:58 am
Location: Kakinada

XSLT Query

Post 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
jkmyoung
Posts: 89
Joined: Mon Mar 06, 2006 10:13 pm

Post by jkmyoung »

Need to see your xml, and what you want exactly, eg
select="employeeValue > 5000 and employeeValue < 10000"
jkmyoung
Posts: 89
Joined: Mon Mar 06, 2006 10:13 pm

Post by jkmyoung »

arghh. no edit on this forum. forgot the ='s
select="employeeValue >= 5000 and employeeValue <= 10000"
jkmyoung
Posts: 89
Joined: Mon Mar 06, 2006 10:13 pm

Post by jkmyoung »

would be more like
select="employee[employeeValue >= 5000 and employeeValue <= 10000]"
Post Reply