[Home] [By Thread] [By Date] [Recent Entries]
On 16.11.2018 16:47, Costello, Roger L. costello@xxxxxxxxx wrote:
I declare a variable to hold the airports document: It suffices to declare the key with the right match pattern independent of the document e.g. match="airports/row" In a template I declare a variable to hold the icao of the desired airport: But you need to pass in the document (or subtree in general) you want to search as the third argument to the "key" function with key('airports-with-icao', $airport-icao, $airport-file) if you don't want to search the document of the current context node.
|

Cart



