The problem is as follows: My XML has element with content "x/y". This indicates the running number of "part" coming in. E.g. in first XML this element will have value 1/5, in second 2/5 and in last one 5/5. You get the point. The element itself looks like
<part>x/y</part>
where x might be something between 1 and y, and y can be any number
I would need to find answer to two cases:
- the result should be "Add" when x=1
- the result should be "Complete", when x=y
How to solve this using XSL (version 1.0) ?