I'm looking how to create my own XPath function in XSLT-1.0. For example I have simple XPath expression which I'm using again and again in my XSLT template. I want to create my own XPath function myOwnFunction($var)
which calls XPath expression.
Example expression:
normalize-space(substring-after(substring-after($var, '-'), '-'))