XSLT Position Function

Source: JamezJ.com