[xsl] XPath expression which converts the output of path() into an abbreviated path?

Subject: [xsl] XPath expression which converts the output of path() into an abbreviated path?
From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Aug 2022 12:22:09 -0000
Hi Folks,

I am using the path() function and it is generating paths like this:

/Q{}AeroPublication[1]/Q{}airports[1]/Q{}airport[1]/Q{}icaoCode[1]

Now I want to convert that full path into an abbreviated path, consisting of
just the last 3 names:

airports/airport/icaoCode

I can write a bunch of XSLT code that does this conversion. But is there an
XPath expression which does it?

/Roger

Current Thread