File: Data.xml
Chocolate bar sales
name 1
2
name 2
3
File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
/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