Following on from my previous question and the given solution XSL numbering at different levels ....
The previous question dealt with inserting \'footnote\' numbers into
If you want to solve that with three different steps then you need to make sure the second step uses the result of the first step as the input and not the original input, that is, you have to make sure you use the variables a bit differently:
http://xsltfiddle.liberty-development.net/948Fn5a/7
I would think however that you don't need three modes respectively three steps, you could simply add your template creating the appnote
s to the first step/mode:
http://xsltfiddle.liberty-development.net/948Fn5a/8
As a variation on that approach, as you only want to transform the deposition
elements and only need to number the other elements in that subtree, it might be easier and more efficient to not use global variables with the whole tree transformed but to only transform the deposition
contents:
http://xsltfiddle.liberty-development.net/948Fn5a/9