Input.xml
<employees>
<employee id="1" name="Tom" salary="5000"></employee>
<employee id="2" name="Michelle" salary="4800"></employee>
<employee id="3" name="Samuel" salary="7000"></employee>
<employees>
My desired output (output.xml)
<staffs>
1. Samuel 7000
2. Tom 5000
3. Michelle 4800
</staffs>
How to write my XSL so that it transforms as I want? Note that the output is
<auto number increase><name><salary>
all located in one element node. The output requirement/format is fixed !
Start Free Trial