XSL/XPath Tips and Tricks

How to find out the 'position()' of an ancestor element

count(ancestor::host/preceding-sibling::host) + 1
-
- Views - Page - Discussion - View source - History -
- Personal tools - 38.107.179.230 - Talk for this IP - Log in -
- Special - Special pages -