On Fri, 2025-03-14 at 15:57 +0000, Roger L Costello costello@xxxxxxxxx
wrote:
> Hi Folks,
>
> My XSLT code must process N airport records.
>
> For each airport record, I must search through M air-nav records and
> collect those that match on the ARPT_IDENT field.
ok, so //record[ARTP_IDENT = 'blue'] say...
>
> For each matched air-nav record, I must search through O boundary
> records and collect those that match on the NAV_IDENT, NAV_CTRY, and
> NAV_TYPE fields.
ok, so //record[ARTP_IDENT = 'blue'][
NAV_IDENT = 'red'
][
NAV_CTRY = 'there is only one country'
][
NAV_TYPE = 'yellow]
]
is linear.
What am i missing?
Note also, you can sometimes use accumulators to avoid two passes. And
your accumulator value can be a map.
liam
--
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
| Current Thread |
|
Liam R. E. Quin liam@xxxxxxxxxxxxxxxx - 14 Mar 2025 21:46:15 -0000 <=
|
|