And the count returns 0. However, if I change the predicate in the let clause to:
let $m := collection("marc-data")/*[local-name() = "record"][@type = "Bibliographic"]
the count returns 45.
If I am declaring the namespace in my query prolog and associating it with the same prefix as the one used in my XML documents, why don't I get the desired prefix/namespace mapping? I'm probably missing something basic, but this didn't immediately make sense to me.
Thank you,
Tim
--
Tim A. Thompson
Metadata Librarian (Spanish/Portuguese Specialty)
Princeton University Library