XML Document to SVG using XSLT
- The number of element start tags preceding the focused one is preceding::
and the number of end tags is preceding:: - ::ancestor::
so your count to the current element start tag should be 2*preceding:: -
The end tag is a further descendant:: away.
You could probably do with a dx attribute on the tspan and bold should be
[Non-text portions of this message have been removed]