Mega Code Archive
Comparing sequences with values
File: Data.xml
Chocolate bar sales
name 1
2
name 2
3
File: Transform.xslt
/report/brand/units > 1 :
/report/brand/units >= 2 :
/report/brand/units < 3 :
/report/brand/units = 1 :
/report/brand/units = 2 :
Output:
2, 3
/report/brand/units > 1 : true
/report/brand/units >= 2 : true
/report/brand/units < 3 : true
/report/brand/units = 1 : false
/report/brand/units = 2 : true