On Sat, 2025-08-09 at 22:25 +0000, Roger L Costello costello@xxxxxxxxx
>
> I want to iterate over all 1900 identifiers and for each of them,
> iterate over all 5 million records to see which records contain the
> identifier. There is a loop within a loop:
>
> For each 1900 identifiers do
> B B B For each 5 million records do
> B B B B B B B B Check record against identifier
Outside streaming, you could
apply-templates select="/records/record"
and then have a template
match="VOR_identifier[ancestor::record[
not(Airport_SID_Primary_Records)
]
and then process the record in a different mode?
Otherwise yes, XQuery.
--
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
|