"Joel Kalvesmaki director@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> writes:
> Here's another approach, if the XPath expression has icaoCode as the
> context. Forget about path(). Just string-join the local names of the
> ancestors and self, e.g.,
>
> string-join(for $i in (ancestor-or-self::* except /*) return
> local-name($i), '/')
Nice one, Joel!
Be seeing you,
norm
--
Norman Tovey-Walsh <ndw@xxxxxxxxxx>
https://nwalsh.com/
> Science is facts; just as houses are made of stones, so is science made
> of facts; but a pile of stones is not a house and a collection of facts
> is not necessarily science.--Henri Poincare
[demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
|